|
|
1.1 ! root 1: ! 2: ! 3: pwd.h Header File pwd.h ! 4: ! 5: ! 6: ! 7: ! 8: Declare password structure ! 9: ! 10: #include <pwd.h> ! 11: ! 12: The header file pwd.h declares the structure passwd, which is ! 13: used to build COHERENT's password file. passwd is defined as ! 14: follows: ! 15: ! 16: ! 17: struct passwd { ! 18: char *pw_name; /* login user name */ ! 19: char *pw_passwd;/* login password */ ! 20: int pw_uid; /* login user id */ ! 21: int pw_gid; /* login group id */ ! 22: int pw_quota; /* file quota (unused) */ ! 23: char *pw_comment;/* comments (unused) */ ! 24: char *pw_gecos;/* (unused) */ ! 25: char *pw_dir; /* working directory */ ! 26: char *pw_shell;/* initial program */ ! 27: }; ! 28: ! 29: ! 30: For detailed descriptions of the above fields, see the entry for ! 31: passwd. ! 32: ! 33: ***** See Also ***** ! 34: ! 35: endpwent(), getpwent(), getpwnam(), getpwuid(), header files, ! 36: setpwent() ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.