Improve comments on struct spwd.

This commit is contained in:
Michael Kerrisk 2008-07-08 22:14:19 +00:00
parent cefb5a1792
commit 8c5263f428
1 changed files with 14 additions and 13 deletions

View File

@ -3,7 +3,7 @@
.\"
.\" Distributed under GPL
.\"
.TH GETSPNAM 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.TH GETSPNAM 3 2008-07-09 "GNU" "Linux Programmer's Manual"
.SH NAME
getspnam, getspnam_r, getspent, getspent_r, setspent, endspent,
fgetspent, fgetspent_r, sgetspent, sgetspent_r, putspent,
@ -191,18 +191,19 @@ The shadow password structure is defined in \fI<shadow.h>\fP as follows:
.in +4n
.nf
struct spwd {
char *sp_namp; /* Login name */
char *sp_pwdp; /* Encrypted password */
long sp_lstchg; /* Date of last change */
long sp_min; /* Min #days between changes */
long sp_max; /* Max #days between changes */
long sp_warn; /* #days before pwd expires
to warn user to change it */
long sp_inact; /* #days after pwd expires
until account is disabled */
long sp_expire; /* #days since 1970-01-01
until account is disabled */
unsigned long sp_flag; /* Reserved */
char *sp_namp; /* Login name */
char *sp_pwdp; /* Encrypted password */
long sp_lstchg; /* Date of last change (measured
in days since 1 Jan 1970) */
long sp_min; /* Min # of days between changes */
long sp_max; /* Max # of days between changes */
long sp_warn; /* # of days before password expires
to warn user to change it */
long sp_inact; /* # of days after password expires
until account is disabled */
long sp_expire; /* Date when account expires (measured
in days since 1 Jan 1970) */
unsigned long sp_flag; /* Reserved */
};
.fi
.in