github.com/cloudfoundry-attic/garden-linux@v0.333.2-candidate/linux_backend/src/nstar/pwd.h (about)

     1  #ifndef PWD_H
     2  #define PWD_H
     3  
     4  #include <stdint.h>
     5  
     6  #define getpwnam __wshd_getpwnam
     7  
     8  struct passwd {
     9    char *pw_name;   /* Username. */
    10    char *pw_passwd; /* Password. */
    11    uint32_t pw_uid; /* User ID. */
    12    uint32_t pw_gid; /* Group ID. */
    13    char *pw_gecos;  /* Real name. */
    14    char *pw_dir;    /* Home directory. */
    15    char *pw_shell;  /* Shell program. */
    16  };
    17  
    18  struct passwd *getpwnam(const char *name);
    19  
    20  #endif