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
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 -
- Page 908 and 909: ,ry
- Page 910 and 911: � '"'"--
- Page 912 and 913: I!) r) ·--... .._ _ .. .
- Page 914 and 915: y I
- Page 916 and 917: LOCKF (3C) LOCKF (3C) F _LOCK and F
- Page 918 and 919: I� ' .... ._ .·
- Page 920 and 921: LSEARCH ( 3C ) LSEARCH ( 3C ) unsig
- Page 922 and 923: MALLOC (3C) MALLOC (3C) M_NLBLKS Se
- Page 924 and 925: MA THERR (3M) MATHERR (3M) } BESSEL
- Page 926 and 927: () . -�
- Page 928 and 929: MEMORY (3C} MEMORY (3C) Character m
- Page 930 and 931: MENU (3T) (AT&T UNIX PC only ) MENU
- Page 932 and 933: MENU (3T) (AT&T UNIX PC only ) mite
- Page 934 and 935: MENU (3T) (AT&T UNIX PC only ) FILE
- Page 936 and 937: MESSAGE ( 3T ) ( AT&T UNIX PC only
- Page 939: MONITOR ( 3C ) MONITOR ( 3C ) NAME
- Page 943 and 944: PASTE (3T) (AT&T UNIX PC only ) PAS
- Page 945 and 946: PASTE ( 3T ) ( AT&T UNIX PC only )
- Page 947: PERROR (3C) PERROR (3C) NAME perror
- Page 950 and 951: (� / I I I I I I I I I I I I I I
- Page 952 and 953: PRINTF (3S) PRINTF (3S) A field wid
- Page 955 and 956: PUTC ( 3S ) PUTC ( 3S ) NAME putc,
- Page 957: PUTENV (3C) PUTENV (3C) NAME putenv
- Page 961 and 962: PUTS ( 3S ) PUTS ( 3S ) NAME puts,
- Page 963 and 964: QSORT (3C) QSORT (3C) NAME qsort -
- Page 965 and 966: RAND ( 3C ) RAND ( 3C ) NAME rand,
- Page 967 and 968: REGCMP (3X) REGCMP (3X) NAME regcmp
- Page 969 and 970: SCANF ( 3S ) SCANF(3S) NAME scanf,
- Page 971: SCANF(3S) SCANF(3S) , f , and g may
- Page 974 and 975: I�
- Page 976 and 977: I�
- Page 978 and 979: � I J rj ---
- Page 980 and 981: � ·· .. � '.---- -' · n
- Page 983: SSIGNAL ( 3C ) SSIGNAL ( 3C ) NAME
- Page 987: STDIPC ( 3C ) STDIPC ( 3C ) NAME st
- Page 990 and 991: STRING (3C) STRING (3C) NOTE BUGS S
- Page 992 and 993: ·-- . ·
- Page 995 and 996: SWAB ( 3C ) SWAB ( 3C ) NAME swab -
- Page 997 and 998: SYSTEM ( 3S ) SYSTEM( 3S ) NAME sys
- Page 999 and 1000: TAM (3T) (AT&T UNIX PC only ) TAM(3
- Page 1001 and 1002: TAM(3T) (AT&T UNIX PC only ) TAM(3T
- Page 1003 and 1004: TAM (3T) (AT&T UNIX PC only ) TAM(3
- Page 1005 and 1006: TAM (3T) wgetpos() kcodemap() wgetc
- Page 1007 and 1008: TMPFILE ( 3S ) TMPFILE ( 3S ) NAME
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 -