No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / djgpp / djpwd.h
blob78596e53c2b614194e735d5083b5e0c986b32f78
1 /*
2 Needed by getpwnam.c
3 */
5 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
6 #ifndef __dj_include_pwd_h_
7 #define __dj_include_pwd_h_
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
13 #ifndef __dj_ENFORCE_ANSI_FREESTANDING
15 #ifndef __STRICT_ANSI__
17 #include <sys/djtypes.h>
19 __DJ_gid_t
20 #undef __DJ_gid_t
21 #define __DJ_gid_t
22 __DJ_uid_t
23 #undef __DJ_uid_t
24 #define __DJ_uid_t
26 struct passwd {
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);
39 #ifndef _POSIX_SOURCE
41 struct passwd *getpwent(void);
42 void setpwent(void);
43 void endpwent(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 */
52 #ifdef __cplusplus
54 #endif
56 #endif /* !__dj_include_pwd_h_ */