#include <../pthread.h>
#include <pwd.h>
#include <sys/types.h>
#include <string.h>
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] | 
      
 
 
      
        
          | 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 | 
        
          |  | ) |  |  | 
      
 
 
Variable Documentation
      
        
          | pthread_mutex_t getpw_mutex = PTHREAD_MUTEX_INITIALIZER  [static] |