* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / libc / include / pwd.h
blob1b48c6a6e91a0d2559395e30172fe97e5342233a
1 #ifndef __PWD_H
2 #define __PWD_H
4 #include <sys/types.h>
5 #include <features.h>
6 #include <stdio.h>
8 /* The passwd structure. */
9 struct passwd
11 char *pw_name; /* Username. */
12 char *pw_passwd; /* Password. */
13 uid_t pw_uid; /* User ID. */
14 gid_t pw_gid; /* Group ID. */
15 char *pw_gecos; /* Real name. */
16 char *pw_dir; /* Home directory. */
17 char *pw_shell; /* Shell program. */
21 extern void setpwent __P ((void));
22 extern void endpwent __P ((void));
23 extern struct passwd * getpwent __P ((void));
25 extern int putpwent __P ((__const struct passwd * __p, FILE * __f));
26 extern int getpw __P ((uid_t uid, char *buf));
28 extern struct passwd * fgetpwent __P ((FILE * file));
30 extern struct passwd * getpwuid __P ((__const uid_t));
31 extern struct passwd * getpwnam __P ((__const char *));
33 #ifdef __LIBC__
34 extern struct passwd * __getpwent __P ((__const int passwd_fd));
35 #endif
37 #endif /* pwd.h */