1GETPW(3) Library Functions Manual GETPW(3)
23
4
NAME
6getpw - get name from UID
7
SYNOPSIS
9getpw(uid, buf)
10char *buf;
11
DESCRIPTION
13Getpw searches the password file for the (numerical) uid, and fills in
14buf with the corresponding line; it returns non-zero if uid could not
15be found. The line is null-terminated.
16
FILES
18/etc/passwd
19
SEE ALSO
21getpwent(3), passwd(5)
22
DIAGNOSTICS
24Non-zero return on error.
2526
27
28
deprecated GETPW(3)