diff options
Diffstat (limited to '')
-rw-r--r-- | upstream/debian-unstable/man3/getpwent.3 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/upstream/debian-unstable/man3/getpwent.3 b/upstream/debian-unstable/man3/getpwent.3 index 839c614a..bf6cfffc 100644 --- a/upstream/debian-unstable/man3/getpwent.3 +++ b/upstream/debian-unstable/man3/getpwent.3 @@ -12,7 +12,7 @@ .\" Modified Mon May 27 21:37:47 1996 by Martin Schulze <joey@linux.de> .\" Modified Thu Dec 13 21:10:55 2001 by Martin Schulze <joey@infodrom.org> .\" -.TH getpwent 3 2023-07-20 "Linux man-pages 6.05.01" +.TH getpwent 3 2024-05-02 "Linux man-pages 6.8" .SH NAME getpwent, setpwent, endpwent \- get password file entry .SH LIBRARY @@ -22,17 +22,17 @@ Standard C library .nf .B #include <sys/types.h> .B #include <pwd.h> -.PP +.P .B struct passwd *getpwent(void); .B void setpwent(void); .B void endpwent(void); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR getpwent (), .BR setpwent (), .BR endpwent (): @@ -54,19 +54,19 @@ The first time .BR getpwent () is called, it returns the first entry; thereafter, it returns successive entries. -.PP +.P The .BR setpwent () function rewinds to the beginning of the password database. -.PP +.P The .BR endpwent () function is used to close the password database after all processing has been performed. -.PP +.P The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows: -.PP +.P .in +4n .EX struct passwd { @@ -95,7 +95,7 @@ The variable may be empty, in which case the system will execute the default shell .RB ( /bin/sh ) for the user. -.PP +.P For more information about the fields of this structure, see .BR passwd (5). .SH RETURN VALUE @@ -111,7 +111,7 @@ is set to indicate the error. If one wants to check .I errno after the call, it should be set to zero before the call. -.PP +.P The return value may point to a static area, and may be overwritten by subsequent calls to .BR getpwent (), @@ -177,7 +177,7 @@ T} Thread safety T{ MT-Unsafe race:pwent locale T} .TE -.sp 1 +.P In the above table, .I pwent in |