![]() |
posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
|
POSIX group database access (<grp.h>) More...
#include <sys/stat.h>
Go to the source code of this file.
Data Structures | |
| struct | group |
| POSIX group database entry. More... | |
Functions | |
| int | getgrnam_r (const char *name, struct group *grp, char *buffer, size_t bufsize, struct group **result) |
| Look up a group entry by name (thread-safe). | |
| int | getgrgid_r (gid_t gid, struct group *grp, char *buffer, size_t bufsize, struct group **result) |
| Look up a group entry by group ID (thread-safe). | |
| 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. | |