summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-02-01 17:13:12 +0000
committerSteve Price <steve@FreeBSD.org>1998-02-01 17:13:12 +0000
commitf63999476c134b84094bd6670789377b42dd6c97 (patch)
tree79455de2b706ad9f17a5a2fa7f41802247e46c5a /lib/libc
parent3de1350407bcfce79b71afe37f2040d991908b3f (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getpwent.314
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3
index 6badc19f1294..8772a429e7e4 100644
--- a/lib/libc/gen/getpwent.3
+++ b/lib/libc/gen/getpwent.3
@@ -53,7 +53,7 @@
.Fn getpwuid "uid_t uid"
.Ft int
.Fn setpassent "int stayopen"
-.Ft int
+.Ft void
.Fn setpwent void
.Ft void
.Fn endpwent void
@@ -160,15 +160,15 @@ and
.Fn getpwuid ,
return a valid pointer to a passwd structure on success
and a null pointer if end-of-file is reached or an error occurs.
-The functions
+The
.Fn setpassent
-and
-.Fn setpwent
-return 0 on failure and 1 on success.
+function returns 0 on failure and 1 on success.
The
.Fn endpwent
-function
-has no return value.
+and
+.Fn setpwent
+functions
+have no return value.
.Sh FILES
.Bl -tag -width /etc/master.passwd -compact
.It Pa /etc/pwd.db