|
ginnOS
The reference: libc, the libraries and the kernel
|
the user database (/etc/passwd: name:password:uid:gid:gecos:home:shell). More...
#include <sys/types.h>Go to the source code of this file.
Data Structures | |
| struct | passwd |
Functions | |
| struct passwd * | getpwuid (uid_t uid) |
| look up a user by id or name. | |
| struct passwd * | getpwnam (const char *name) |
the user database (/etc/passwd: name:password:uid:gid:gecos:home:shell).
look up a user by id or name.
the result is overwritten by the next call.
| struct passwd * getpwnam | ( | const char * | name | ) |