diff options
Diffstat (limited to 'man3/perror.3')
-rw-r--r-- | man3/perror.3 | 52 |
1 files changed, 20 insertions, 32 deletions
diff --git a/man3/perror.3 b/man3/perror.3 index 2c9559874..efb3e6f5f 100644 --- a/man3/perror.3 +++ b/man3/perror.3 @@ -10,7 +10,7 @@ .\" (msmith@falcon.mercer.peachnet.edu) and various other changes. .\" Modified 1996-05-16 by Martin Schulze (joey@infodrom.north.de) .\" -.TH perror 3 2023-02-05 "Linux man-pages 6.03" +.TH perror 3 2023-07-20 "Linux man-pages 6.05.01" .SH NAME perror \- print a system error message .SH LIBRARY @@ -99,55 +99,43 @@ Thus, if a failing call is not immediately followed by a call to the value of .I errno should be saved. -.SH VERSIONS -Since glibc 2.32, the declarations of -.I sys_errlist -and -.I sys_nerr -are no longer exposed by -.IR <stdio.h> . .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). -.ad l -.nh .TS allbox; lbx lb lb l l l. Interface Attribute Value T{ +.na +.nh .BR perror () T} Thread safety MT-Safe race:stderr .TE -.hy -.ad .sp 1 .SH STANDARDS -.BR perror (), -.IR errno : -POSIX.1-2001, POSIX.1-2008, C99, 4.3BSD. -.PP -The externals +.TP +.I errno +.TQ +.BR perror () +C11, POSIX.1-2008. +.TP .I sys_nerr -and +.TQ .I sys_errlist -derive from BSD, but are not specified in POSIX.1. -.SH NOTES -The externals +BSD. +.SH HISTORY +.TP +.I errno +.TQ +.BR perror () +POSIX.1-2001, C89, 4.3BSD. +.TP .I sys_nerr -and +.TQ .I sys_errlist -are defined by glibc, but in -.IR <stdio.h> . -.\" and only when _BSD_SOURCE is defined. -.\" When -.\" .B _GNU_SOURCE -.\" is defined, the symbols -.\" .I _sys_nerr -.\" and -.\" .I _sys_errlist -.\" are provided. +Removed in glibc 2.32. .SH SEE ALSO .BR err (3), .BR errno (3), |