pwd.h 752 B

1234567891011121314151617181920212223242526
  1. /* $Id$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. #ifndef _PWD_H
  7. #define _PWD_H
  8. struct passwd {
  9. char *pw_name; /* login name */
  10. int pw_uid; /* uid corresponding to the name */
  11. int pw_gid; /* gid corresponding to the name */
  12. char *pw_dir; /* user's home directory */
  13. char *pw_shell; /* name of the user's shell */
  14. /* The following members are not defined by POSIX. */
  15. char *pw_passwd; /* password information */
  16. char *pw_gecos; /* just in case you have a GE 645 around */
  17. };
  18. extern struct passwd *getpwnam();
  19. extern struct passwd *getpwuid();
  20. extern struct passwd *getpwent();
  21. #endif /* _PWD_H */