AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

PUTPWENT ( 3C ) PUTPWENT ( 3C ) NAME putpwent - write password file entry SYNOPSIS #include < pwd.h > int putpwent (p, f) struct pa.sswd *p; FILE •f; DESCRIPTION Putpwent is the inverse of getpwent(3C). Given a pointer to a passwd structure created by getpwent (or getpwuid or getpwnam ), putpwuid writes a line on the stream f which matches the format of fetcfpa.sswd. DIAGNOSTICS Putpwent returns non-zero if an error was detected during its operation, otherwise zero. WARNING The above routine uses , which causes it to increase the size of programs, not otherwise using standard 1/0, more than might be expected. - 1 -

PUTPWENT ( 3C ) PUTPWENT ( 3C )<br />

NAME<br />

putpwent - write password file entry<br />

SYNOPSIS<br />

#include < pwd.h ><br />

int putpwent (p, f)<br />

struct pa.sswd *p;<br />

FILE •f;<br />

DESCRIPTION<br />

Putpwent is the inverse of getpwent(3C). Given a pointer to a<br />

passwd structure created by getpwent (or getpwuid or getpwnam ),<br />

putpwuid writes a line on the stream f which matches the format<br />

of fetcfpa.sswd.<br />

DIAGNOSTICS<br />

Putpwent returns non-zero if an error was detected during its<br />

operation, otherwise zero.<br />

WARNING<br />

The above routine uses , which causes it to increase<br />

the size of programs, not otherwise using standard 1/0, more than<br />

might be expected.<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!