summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-02-01 17:13:12 +0000
committersteve <steve@FreeBSD.org>1998-02-01 17:13:12 +0000
commit21062993ed358fc12271072743300fc65f43946a (patch)
tree13ae2153d9c5dcabcd4f1d1783e949ae25d52507 /lib
parentc3bc523e8ec2ad74b0a1445562d3f7e26b868784 (diff)
downloadFreeBSD-src-21062993ed358fc12271072743300fc65f43946a.zip
FreeBSD-src-21062993ed358fc12271072743300fc65f43946a.tar.gz
Cleanup the manpage now that setpwent has a void return type.
Diffstat (limited to 'lib')
-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 6badc19..8772a42 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
OpenPOWER on IntegriCloud