home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / PWD.H < prev    next >
C/C++ Source or Header  |  1992-11-18  |  543b  |  34 lines

  1. /* pwd.h (emx+gcc) */
  2.  
  3. #if !defined (_PWD_H)
  4. #define _PWD_H
  5.  
  6. #if defined (__cplusplus)
  7. extern "C" {
  8. #endif
  9.  
  10. struct passwd
  11. {
  12.   char * pw_name;
  13.   char * pw_passwd;
  14.   int    pw_uid;
  15.   int    pw_gid;
  16.   char * pw_age;
  17.   char * pw_comment;
  18.   char * pw_gecos;
  19.   char * pw_dir;
  20.   char * pw_shell;
  21. };
  22.  
  23. struct passwd *getpwent (void);
  24. struct passwd *getpwuid (int uid);
  25. struct passwd *getpwnam (char *name);
  26. void setpwent (void);
  27. void endpwent (void);
  28.  
  29. #if defined (__cplusplus)
  30. }
  31. #endif
  32.  
  33. #endif /* !defined (_PWD_H) */
  34.