#include <../pthread.h>
#include <pwd.h>
#include <sys/types.h>
#include <string.h>
Go to the source code of this file.
|
static int | convert (struct passwd *ret, struct passwd *result, char *buf, int buflen) |
|
int | getpwnam_r (const char *name, struct passwd *result, char *buffer, size_t buflen) |
|
int | getpwuid_r (uid_t uid, struct passwd *result, char *buffer, size_t buflen) |
|
|
static pthread_mutex_t | getpw_mutex = PTHREAD_MUTEX_INITIALIZER |
|
◆ convert()
static int convert |
( |
struct passwd * |
ret, |
|
|
struct passwd * |
result, |
|
|
char * |
buf, |
|
|
int |
buflen |
|
) |
| |
|
static |
◆ getpwnam_r()
int getpwnam_r |
( |
const char * |
name, |
|
|
struct passwd * |
result, |
|
|
char * |
buffer, |
|
|
size_t |
buflen |
|
) |
| |
◆ getpwuid_r()
int getpwuid_r |
( |
uid_t |
uid, |
|
|
struct passwd * |
result, |
|
|
char * |
buffer, |
|
|
size_t |
buflen |
|
) |
| |
◆ getpw_mutex
pthread_mutex_t getpw_mutex = PTHREAD_MUTEX_INITIALIZER |
|
static |