diff options
-rw-r--r-- | lib/libc/gen/getpwent.3 | 14 |
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 |