*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: perror | Section: 3 | Source: Digital UNIX | File: perror.3.gz
perror(3) Library Functions Manual perror(3) NAME perror - Writes a message explaining the current setting of errno LIBRARY Standard C Library (libc.a, libc.so) SYNOPSIS #include <stdio.h> void perror( const char *string); STANDARDS 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 in- dustry standards and associated tags. PARAMETERS Points to a string containing the name of the program that caused the error. DESCRIPTION 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). RELATED INFORMATION Routines: printf(3), strerror(3) Standards: standards(5) delim off perror(3)

Navigation Options