Content-type: text/html Man page of getpw

getpw

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

getpw - get name from uid  

SYNOPSIS

getpw (
 uid_t uid,
 char *buf );   

DESCRIPTION

The getpw routine has been superseded by getpwuid. See getpwent(3).

The getpw routine searches the password file for the (numerical) uid, and fills in buf with the corresponding line; it returns nonzero if uid could not be found. The line is null terminated.  

ERRORS

Nonzero return on error.  

FILES

/etc/passwd  

RELATED INFORMATION

getpwent(3), passwd(4) delim off


 

Index

NAME
SYNOPSIS
DESCRIPTION
ERRORS
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:42:05 GMT, October 02, 2010