SYNOPSIS #include <rpc/des_crypt.h> void passwd2des(char *passwd , char * key ); int xencrypt(char * secret , char * passwd ... xdecrypt(char * secret , char * passwd ); DESCRIPTIO…NAME getpwent_r, fgetpwent_r - get passwd file entry reentrantly LIBRARY Standard C library ( libc ... SYNOPSIS #include int getpwent_r(struct passwd *restrict pwbuf , char buf […NAME getpwent_r, fgetpwent_r - get passwd file entry reentrantly LIBRARY Standard C library ( libc ... SYNOPSIS #include int getpwent_r(struct passwd *restrict pwbuf , char buf […libc , -lc ) SYNOPSIS #include <sys/types.h> #include struct passwd *getpwnam(const char * name ); struct passwd *getpwuid ... getpwnam_r(const char *restrict name , struct passw…libc , -lc ) SYNOPSIS #include <sys/types.h> #include struct passwd *getpwnam(const char * name ); struct passwd *getpwuid ... getpwnam_r(const char *restrict name , struct passw…libc , -lc ) SYNOPSIS #include <sys/types.h> #include struct passwd *getpwnam(const char * name ); struct passwd *getpwuid ... getpwnam_r(const char *restrict name , struct passw…libc , -lc ) SYNOPSIS #include <sys/types.h> #include struct passwd *getpwnam(const char * name ); struct passwd *getpwuid ... getpwnam_r(const char *restrict name , struct passw…libc , -lc ) SYNOPSIS #include <sys/types.h> #include struct passwd *getpwent(void); void setpwent(void); void endpwent ... after all processing has been performed. The passwd st…libc , -lc ) SYNOPSIS #include <sys/types.h> #include struct passwd *getpwent(void); void setpwent(void); void endpwent ... after all processing has been performed. The passwd st…libc , -lc ) SYNOPSIS #include <sys/types.h> #include struct passwd *getpwent(void); void setpwent(void); void endpwent ... after all processing has been performed. The passwd st…SYNOPSIS #include #include <sys/types.h> #include struct passwd *fgetpwent(FILE * stream ); Feature Test Macro Requirements ... have the same format as /etc/passwd (see passwd …buffer contains a line of format name:passwd:uid:gid:gecos:dir:shell The passwd ... structure is defined in as follows: struct passwd { char *pw_name; /* username */ char *pw_pas…SYNOPSIS #include <rpc/des_crypt.h> void passwd2des(char *passwd , char * key ); int xencrypt(char * secret , char * passwd ... xdecrypt(char * secret , char * passwd ); DESCRIPTIO…SYNOPSIS #include <rpc/des_crypt.h> void passwd2des(char *passwd , char * key ); int xencrypt(char * secret , char * passwd ... xdecrypt(char * secret , char * passwd ); DESCRIPTIO…SYNOPSIS #include <rpc/des_crypt.h> void passwd2des(char *passwd , char * key ); int xencrypt(char * secret , char * passwd ... xdecrypt(char * secret , char * passwd ); DESCRIPTIO…include <sys/types.h> #include int putpwent(const struct passwd *restrict p , FILE *restrict stream ); Feature Test ... file associated with stream . The passwd structure is defi…groups; struct group *gr; struct passwd *pw; if (argc != 3) { fprintf(stderr, "Usage ... NULL) { perror("malloc"); exit(EXIT_FAILURE); } /* Fetch passwd structure (contains first g…const char *restrict user , const char *restrict passwd , const char *restrict cmd , int *restrict fd2p ... const char *restrict user , const char *restrict passwd , const char *re…const char *restrict user , const char *restrict passwd , const char *restrict cmd , int *restrict fd2p ... const char *restrict user , const char *restrict passwd , const char *re…char *gr_name; /* group name */ char *gr_passwd; /* group password */ gid_t gr_gid; /* group