|
|
1.1 ! root 1: .TH GETPW 3C "19 January 1983" ! 2: .SH NAME ! 3: getpw \- get name from uid ! 4: .SH SYNOPSIS ! 5: .nf ! 6: .B getpw(uid, buf) ! 7: .B char *buf; ! 8: .fi ! 9: .SH DESCRIPTION ! 10: .ft B ! 11: Getpw is obsoleted by getpwuid(3). ! 12: .ft R ! 13: .PP ! 14: .I Getpw ! 15: searches the password file for ! 16: the (numerical) ! 17: .IR uid ", and fills in " "buf" ! 18: with the corresponding line; ! 19: it returns non-zero if ! 20: .IR uid "" ! 21: could not ! 22: be found. ! 23: The line is null-terminated. ! 24: .SH FILES ! 25: /etc/passwd ! 26: .SH "SEE ALSO" ! 27: getpwent(3), ! 28: passwd(5) ! 29: .SH DIAGNOSTICS ! 30: Non-zero ! 31: return on error.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.