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