Annotation of mstools/posix/h/pwd.h, revision 1.1.1.2

1.1       root        1: /*++
                      2: 
                      3: Copyright (c) 1992  Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:        pwd.h
                      8: 
                      9: Abstract:
                     10: 
                     11:        Defines data types and declares routines necessary for user database
                     12:        access, as required by 1003.1-88 (9.2.2).
                     13: 
                     14: --*/
                     15: 
                     16: #ifndef _PWD_
                     17: #define _PWD_
                     18: 
                     19: #include <sys/types.h>
                     20: 
1.1.1.2 ! root       21: #ifdef __cplusplus
        !            22: extern "C" {
        !            23: #endif
        !            24: 
1.1       root       25: struct passwd {
                     26:        char *pw_name;                          /* users login name     */
                     27:        uid_t pw_uid;                           /* user id number       */
                     28:        gid_t pw_gid;                           /* group id number      */
                     29:        char *pw_dir;                           /* home directory       */
                     30:        char *pw_shell;                         /* shell                */
                     31: };
                     32: 
                     33: struct passwd * _CRTAPI1 getpwuid(uid_t);
                     34: struct passwd * _CRTAPI1 getpwnam(const char *);
                     35: 
1.1.1.2 ! root       36: #ifdef __cplusplus
        !            37: }
        !            38: #endif
        !            39: 
1.1       root       40: #endif /* _PWD_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.