write shadow password file entry
int putspent (const struct spwd p, FILE fp);
routine is the inverse of
Given a pointer to a
structure created by the
routine (or the
routine writes a line on the stream
which matches the format of
If the sp_min, sp_max, sp_lstchg,
sp_warn, sp_inact, or sp_expire
field of the spwd structure
is -1, or if sp_flag is 0,
the corresponding /etc/shadow field is cleared.
The putspent routine returns non-zero
if an error was detected during its operation;
otherwise it returns zero.
This routine is for internal use only;
compatibility is not guaranteed.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004