home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man3 / getpw.3 < prev    next >
Encoding:
Text File  |  1975-06-26  |  431 b   |  27 lines

  1. .th GETPW III 4/7/73
  2. .sh NAME
  3. getpw \*- get name from UID
  4. .sh SYNOPSIS
  5. .ft B
  6. getpw(uid, buf)
  7. .br
  8. char *buf;
  9. .ft R
  10. .sh DESCRIPTION
  11. .it Getpw
  12. searches the password file for
  13. the (numerical)
  14. \fIuid\fR, and fills in \fIbuf\fR
  15. with the corresponding line;
  16. it returns non-zero if \fIuid\fR could not
  17. be found.
  18. The line is null-terminated.
  19. .sh FILES
  20. /etc/passwd
  21. .sh "SEE ALSO"
  22. passwd (V)
  23. .sh DIAGNOSTICS
  24. non-zero
  25. return on error.
  26. .sh BUGS
  27.