OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / putpwent.3
index 2b185f7..f8b33c0 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 18:43:46 1993 by Rik Faith (faith@cs.unc.edu)
-.TH PUTPWENT 3  2007-07-26 "GNU" "Linux Programmer's Manual"
+.TH PUTPWENT 3  2013-04-19 "GNU" "Linux Programmer's Manual"
 .SH NAME
 putpwent \- write a password file entry
 .SH SYNOPSIS
@@ -65,18 +67,21 @@ struct passwd {
 };
 .fi
 .in
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 The
 .BR putpwent ()
 function returns 0 on success, or \-1 if an error
 occurs.
+In the event of an error,
+.I errno
+is set to indicate the cause.
 .SH ERRORS
 .TP
 .B EINVAL
 Invalid (NULL) argument given.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 SVr4.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR endpwent (3),
 .BR fgetpwent (3),
 .BR getpw (3),
@@ -84,3 +89,12 @@ SVr4.
 .BR getpwnam (3),
 .BR getpwuid (3),
 .BR setpwent (3)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.