putpwent.3

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3 代码 · 共 47 行

3
47
字号
.\" SCCSID: @(#)putpwent.3	8.1	9/11/90.TH putpwent 3.SH Nameputpwent \- write password file entry.SH Syntax.B #include <pwd.h>.PP.B int putpwent (\fIp, f\fP).br.B struct passwd \(**\fIp\fP;.br.B \s-1FILE\s+1 \(**\fIf\fP;.SH Description.NXR "putpwent subroutine".NXA "getpwent subroutine" "putpwent subroutine".NXR "password file (general)" "writing entry"The.PN putpwentsubroutine is the inverse of .MS getpwent 3 .Given a pointer to a.I passwd\^structure created by.PN getpwent(or.PN getpwuid or.PN getpwnam), .PN putpwent writes a line on the stream.I f\^which matches the format of .PN /etc/passwd ..SH DiagnosticsThe.PN putpwentsubroutine returns non-zero ifan error was detected during its operation, otherwise zero..NT "Caution"The .PN putpwentroutine uses <stdio.h>, which causes it to increase the size of programs,not otherwise using standard I/O, morethan might be expected..NE

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?