getpwnam_r

Name

getpwnam_r -- reentrant version of getpwnam

Synopsis

#include <string.h>

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

Description

Reentrant version of getpwnam. The additional arguments resultsbuf and buffer are for internal storage, buflen the size of the buffer, and result is the password structure used to return the requested information.