.\" Modified Sat Jul 24 19:22:14 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de)
.\"
-.TH GETPWENT 3 2010-10-21 "GNU" "Linux Programmer's Manual"
+.TH GETPWENT 3 2013-06-21 "GNU" "Linux Programmer's Manual"
.SH NAME
getpwent, setpwent, endpwent \- get password file entry
.SH SYNOPSIS
function returns a pointer to a
.I passwd
structure, or NULL if
-there are no more entries or an error occurs.
+there are no more entries or an error occurred.
If an error occurs,
.I errno
is set appropriately.
.TP
.I /etc/passwd
local password database file
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR getpwent ()
+function is not thread-safe.
+.LP
+The
+.BR setpwent ()
+and
+.BR endpwent ()
+functions are thread-safe.
.SH CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001.
The
.BR getpwuid (3),
.BR putpwent (3),
.BR passwd (5)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.