home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / TELECOM / OS9_Unix.lzh / DEFS / pwd.h < prev    next >
C/C++ Source or Header  |  1992-09-10  |  452b  |  22 lines

  1. struct passwd {
  2.     char *pw_name;
  3.     char *pw_passwd;
  4.     union {
  5.         struct {
  6.         unsigned short __pwu_gid;
  7.             unsigned short __pwu_uid;
  8.         } __pwu_sep;
  9.         unsigned int __pwu_giduid;
  10.     } __pwu;
  11.     int pw_priority;
  12.     char *pw_gecos;
  13.     char *pw_xdir;
  14.     char *pw_dir;
  15.     char *pw_shell;
  16. };
  17. #define    pw_gid    __pwu.__pwu_sep.__pwu_gid
  18. #define pw_uid    __pwu.__pwu_sep.__pwu_uid
  19. #define pw_giduid __pwu.__pwu_giduid
  20.  
  21. struct passwd *getpwend(), *getpwuid(), *getpwnam();
  22.