Syntax | #include <pwd.h> void endpwent (void); struct passwd *getpwent (void); void setpwent (void); | |
Description |
the individual fields of a line of the struct passwd { char *pw_name; char *pw_passwd; uid_t pw_uid; gid_t pw_gid; char *pw_age; char *pw_comment; char *pw_gecos; char *pw_dir; char *pw_shell; }; The components of this structure are read serially from the user catalog.
| |
Return val. |
Pointer to the structure of type | |
if successful. | ||
Errors |
| |
|
| errors occur during creation of the the user does not exists. |
Notes | The return value of There is no These functions are only supported for reasons of compatibility. The characteristics of a current process can be defined as follows:
If error situations are to be investigated, | |
See also |
|