write shadow password file entry
cc . . . -lc
int putspent (p, fp)
struct spwd *p;
routine is the inverse of
pointer to a spwd
structure created by the
(or the getspnam routine),
the putspent routine writes a
line on the stream fp, which matches the format of
If the ``sp_min'', ``sp_max''
or ``sp_lstchg'' field of the spwd
structure is -1, the corresponding /etc/shadow field is
routine returns non-zero if an error was
detected during its operation, otherwise zero.
If a program not otherwise using standard I/O uses this
routine, the size of the program increases more than might
This routine is provided for compatibility purposes only,
and may not function correctly on all systems.
We recommend that the
routine be used as an alternative.
routine is conformant with AT&T SVID Issue 3.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003