5 Copyright © 2003, The AROS Development Team. All rights reserved.
9 #include <sys/_types.h>
10 #include <sys/cdefs.h>
14 You do not need to define size_t in this file. (POSIX)
17 #ifndef __AROS_GID_T_DECLARED
18 #define __AROS_GID_T_DECLARED
19 typedef __gid_t gid_t
;
22 #ifndef __AROS_UID_T_DECLARED
23 #define __AROS_UID_T_DECLARED
24 typedef __uid_t uid_t
;
29 char *pw_name
; /* Username */
30 char *pw_passwd
; /* Password */
31 uid_t pw_uid
; /* User ID */
32 gid_t pw_gid
; /* Group ID */
33 char *pw_gecos
; /* Real name */
34 char *pw_dir
; /* Home directory */
35 char *pw_shell
; /* Shell */
40 struct passwd
*getpwuid(uid_t uid
);
41 struct passwd
*getpwnam(const char *name
);
43 #if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 500
44 /* NOTIMPL int getpwnam_r(const char *name, struct passwd *pwd, char *buffer,
45 size_t bufsize, struct passwd **result); */
46 /* NOTIMPL int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize,
47 struct passwd **result); */
52 struct passwd
*getpwent(void);