5 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
6 #ifndef __dj_include_pwd_h_
7 #define __dj_include_pwd_h_
13 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
15 #ifndef __STRICT_ANSI__
17 #include <sys/djtypes.h>
27 char * pw_name
; /* Username. */
28 uid_t pw_uid
; /* User ID. */
29 gid_t pw_gid
; /* Group ID. */
30 char * pw_dir
; /* Home directory. */
31 char * pw_shell
; /* Shell program. */
32 char * pw_gecos
; /* Real name. */
33 char * pw_passwd
; /* Password. */
36 struct passwd
* getpwuid(uid_t _uid
);
37 struct passwd
* getpwnam(const char *_name
);
41 struct passwd
*getpwent(void);
45 #endif /* !_POSIX_SOURCE */
46 #endif /* !__STRICT_ANSI__ */
47 #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
49 #ifndef __dj_ENFORCE_FUNCTION_CALLS
50 #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
56 #endif /* !__dj_include_pwd_h_ */