POSIX System Database option group.
More...
|
| void | endgrent (void) |
| | Close the group database.
|
| |
| struct group * | getgrent (void) |
| | Read the next group entry from the group database.
|
| |
| struct group * | getgrgid (gid_t gid) |
| | Look up a group entry by group ID.
|
| |
| struct group * | getgrnam (const char *name) |
| | Look up a group entry by name.
|
| |
| void | setgrent (void) |
| | Rewind to the beginning of the group database.
|
| |
| void | endpwent (void) |
| | Close the password database.
|
| |
| struct passwd * | getpwent (void) |
| | Read the next password entry from the password database.
|
| |
| struct passwd * | getpwnam (const char *name) |
| | Look up a password entry by name.
|
| |
| struct passwd * | getpwuid (uid_t uid) |
| | Look up a password entry by user ID.
|
| |
| void | setpwent (void) |
| | Rewind to the beginning of the password database.
|
| |
POSIX System Database option group.
Covers getpwnam(), getpwuid(), getgrnam(), and getgrgid().
◆ endgrent()
Close the group database.
◆ endpwent()
Close the password database.
◆ getgrent()
| struct group * getgrent |
( |
void |
| ) |
|
Read the next group entry from the group database.
◆ getgrgid()
| struct group * getgrgid |
( |
gid_t |
gid | ) |
|
◆ getgrnam()
| struct group * getgrnam |
( |
const char * |
name | ) |
|
◆ getpwent()
| struct passwd * getpwent |
( |
void |
| ) |
|
Read the next password entry from the password database.
◆ getpwnam()
| struct passwd * getpwnam |
( |
const char * |
name | ) |
|
◆ getpwuid()
| struct passwd * getpwuid |
( |
uid_t |
uid | ) |
|
◆ setgrent()
Rewind to the beginning of the group database.
◆ setpwent()
Rewind to the beginning of the password database.