Functions | Variables
getpw_r.c File Reference
#include <../pthread.h>
#include <pwd.h>
#include <sys/types.h>
#include <string.h>
Include dependency graph for getpw_r.c:

Go to the source code of this file.

Functions

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)
 

Variables

static pthread_mutex_t getpw_mutex = PTHREAD_MUTEX_INITIALIZER
 

Function Documentation

static int convert ( struct passwd *  ret,
struct passwd *  result,
char *  buf,
int  buflen 
)
static

Definition at line 10 of file getpw_r.c.

int getpwnam_r ( const char *  name,
struct passwd *  result,
char *  buffer,
size_t  buflen 
)

Definition at line 62 of file getpw_r.c.

int getpwuid_r ( uid_t  uid,
struct passwd *  result,
char *  buffer,
size_t  buflen 
)

Definition at line 81 of file getpw_r.c.

Variable Documentation

pthread_mutex_t getpw_mutex = PTHREAD_MUTEX_INITIALIZER
static

Definition at line 7 of file getpw_r.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 20:00:44