pw_getconf(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
PW_GETCONF(3)             NetBSD Programmer's Manual             PW_GETCONF(3)


NAME
pw_getconf - password encryption configuration access function
LIBRARY
System Utilities Library (libutil, -lutil)
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 by key. If no suitable entry is found for the key an empty string will be returned in data. To retrieve default values the key default can be used. In this case, if /etc/passwd.conf does not exist or does not contain a default section, the built-in defaults will be returned. They are as follows: option data ypcipher old localcipher old An empty string is returned for all errors.
FILES
/etc/passwd.conf
SEE ALSO
passwd(5), passwd.conf(5)
HISTORY
The pw_getconf() function first appeared in NetBSD 1.6. NetBSD 1.6 July 6, 2000 1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.