putspent man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



putspent(3C)							  putspent(3C)

NAME
     putspent - write shadow password file entry

SYNOPSIS
     #include <shadow.h>

     int putspent (const struct spwd *p, FILE *fp);

DESCRIPTION
     The putspent routine is the inverse of getspent.  Given a pointer to a
     spwd structure created by the getspent routine (or the getspnam routine),
     the putspent routine writes a line on the stream fp, which matches the
     format of /etc/shadow.

     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.

SEE ALSO
     getspent(3C), getpwent(3C), putpwent(3C).

DIAGNOSTICS
     The putspent routine returns non-zero if an error was detected during its
     operation, otherwise zero.

NOTES
     This routine is for internal use only, compatibility is not guaranteed.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net