From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/MAN/perror.htm | 98 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 reference/C/MAN/perror.htm (limited to 'reference/C/MAN/perror.htm') diff --git a/reference/C/MAN/perror.htm b/reference/C/MAN/perror.htm new file mode 100644 index 0000000..9fec91e --- /dev/null +++ b/reference/C/MAN/perror.htm @@ -0,0 +1,98 @@ +perror + +
+
+
+
+
+

PERROR(3) Library functions PERROR(3) +

+ +

NAME +

perror - print a system error message + +

SYNOPSIS +

#include <stdio.h> + + void perror(const char *s); + +

DESCRIPTION +

perror produces a message on the standard error output, + describing the last error encountered during a call to a + system or library function. The argument string s is + printed first, then a colon and a blank, then the message + and a new-line. To be of most use, the argument string + should include the name of the program that incurred the + error. The error number is taken from the external vari- + able errno, which is set when errors occur but not cleared + when non-erroneous calls are made. + +

CONFORMING TO +

ANSI C, POSIX + +
+
+

SEE ALSO +

+errno, +strerror, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+                          March 16, 1995                        1
+
+
+
+

+


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf