PW_GETCONF(3)

NAME
pw_getconf - passwd configuration access function

SYNOPSIS
#include <util.h>
void
pw_getconf(char *data, size_t len, const char *key, const char *option);

DESCRIPTION
The pw_getconf() function reads /etc/passwd.conf and retrieves the value of the option specified by option from the section given be key. If no suitable entry is found for the key a default value or an empty string will be returned in data. An empty string is also returned for other errors.

FILES
/etc/passwd.conf

SEE ALSO
passwd(5)