Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gettext(3I)

perror(3C)

setlocale(3C)

strerror(3C)

NAME

strerror − get error message string

SYNOPSIS

#include <string.h>

char ∗strerror(int errnum);

DESCRIPTION

strerror() maps the error number in errnum to an error message string, and returns a pointer to that string.  strerror() uses the same set of error messages as perror().  The returned string should not be overwritten. 

SEE ALSO

gettext(3I), perror(3C), setlocale(3C)

NOTES

If the application is linked with −lintl, then messages returned from this function are in the native language specified by the LC_MESSAGES locale category; see setlocale(3C). 

SunOS 5.1/SPARC  —  Last change: 13 Jul 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026