X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman3%2Fperror.3;h=0a812a99e1db956572ad00dea7be9b8f715ce515;hb=110dba020f489b75aff2497105f7970c05e2b87c;hp=85015f442c7a425d1cff7bb9537d0ede4a3fb5f0;hpb=a2fa3340173660c2c74dc0fd52f1b94a7d84ea2c;p=linuxjm%2FLDP_man-pages.git
diff --git a/original/man3/perror.3 b/original/man3/perror.3
index 85015f44..0a812a99 100644
--- a/original/man3/perror.3
+++ b/original/man3/perror.3
@@ -3,6 +3,7 @@
.\" (michael@cantor.informatik.rwth-aachen.de), 1995-03-16
.\" Copyright (c) 1996 Andries Brouwer (aeb@cwi.nl), 1996-01-13
.\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
@@ -19,15 +20,15 @@
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" .
+.\" %%%LICENSE_END
.\"
.\" 1996-01-13 aeb: merged in some text contributed by Melvin Smith
.\" (msmith@falcon.mercer.peachnet.edu) and various other changes.
.\" Modified 1996-05-16 by Martin Schulze (joey@infodrom.north.de)
.\"
-.TH PERROR 3 2012-04-17 "" "Linux Programmer's Manual"
+.TH PERROR 3 2014-05-28 "" "Linux Programmer's Manual"
.SH NAME
perror \- print a system error message
.SH SYNOPSIS
@@ -37,11 +38,11 @@ perror \- print a system error message
.sp
.B #include
.sp
-.BI "const char *" sys_errlist [];
+.BI "const char * const " sys_errlist [];
.br
.BI "int " sys_nerr ;
.br
-.BI "int " errno ;
+.BI "int " errno "; /* Not really declared this way; see errno(3). */"
.sp
.in -4n
Feature Test Macro Requirements for glibc (see
@@ -87,7 +88,6 @@ The use of
.IR sys_errlist "[]"
is nowadays deprecated.
-
When a system call fails, it usually returns \-1 and sets the
variable
.I errno
@@ -108,7 +108,7 @@ Thus, if a failing call is not immediately followed by a call to
the value of
.I errno
should be saved.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
The function
.BR perror ()
and the external
@@ -136,8 +136,17 @@ are defined by glibc, but in
.\" and
.\" .I _sys_errlist
.\" are provided.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR err (3),
.BR errno (3),
.BR error (3),
.BR strerror (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/.