perror man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

perror(3)							     perror(3)

       perror - Write a message explaining the current setting of errno

       #include <stdio.h>

       void perror(
	       const char *string );

       Standard C Library (libc)

       Interfaces  documented on this reference page conform to industry stan‐
       dards as follows:

       perror():  ISO C, POSIX.1, XPG4, XPG4-UNIX

       Refer to the standards(5) reference page	 for  more  information	 about
       industry standards and associated tags.

       Points  to  a string containing the name of the program that caused the

       The perror() function writes a message on  the  standard	 error	stream
       that  describes the current setting of the external variable errno. The
       error message includes the string pointed to by the  string  parameter,
       followed by a : (colon), a blank, the system message string, and a new‐
       line character. The string parameter string should point to the name of
       the program that caused the error.

       To get the system error message string for use by a program, as opposed
       to displaying it on standard error, use the  strerror()	function.  For
       more information, see strerror(3).

       Routines: printf(3), strerror(3)

       Standards: standards(5)


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net