aboutsummaryrefslogtreecommitdiffstats
path: root/man3/fgetpwent.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/fgetpwent.3')
-rw-r--r--man3/fgetpwent.320
1 files changed, 9 insertions, 11 deletions
diff --git a/man3/fgetpwent.3 b/man3/fgetpwent.3
index 90e2c8e2a1..ed3d601231 100644
--- a/man3/fgetpwent.3
+++ b/man3/fgetpwent.3
@@ -48,21 +48,19 @@ entries. The file \fIstream\fP must have the same format as
.PP
The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
.sp
-.RS
+.in +0.5i
.nf
-.ta 8n 16n 32n
struct passwd {
- char *pw_name; /* user name */
- char *pw_passwd; /* user password */
- uid_t pw_uid; /* user ID */
- gid_t pw_gid; /* group ID */
- char *pw_gecos; /* real name */
- char *pw_dir; /* home directory */
- char *pw_shell; /* shell program */
+ char *pw_name; /* user name */
+ char *pw_passwd; /* user password */
+ uid_t pw_uid; /* user ID */
+ gid_t pw_gid; /* group ID */
+ char *pw_gecos; /* real name */
+ char *pw_dir; /* home directory */
+ char *pw_shell; /* shell program */
};
-.ta
.fi
-.RE
+.in -0.5i
.SH "RETURN VALUE"
The \fBfgetpwent\fP() function returns the passwd structure, or NULL if
there are no more entries or an error occurs.