posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
pwd.h File Reference

POSIX password database access (<pwd.h>) More...

#include <sys/stat.h>
Include dependency graph for pwd.h:

Go to the source code of this file.

Data Structures

struct  passwd
 Password database entry. More...
 

Functions

int getpwnam_r (const char *nam, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result)
 Look up a password entry by name (thread-safe).
 
int getpwuid_r (uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result)
 Look up a password entry by user ID (thread-safe).
 

Detailed Description

POSIX password database access (<pwd.h>)

See also
POSIX.1-2017 <pwd.h>

Definition in file pwd.h.