STRERROR(3) NetBSD Programmer's Manual STRERROR(3)Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.
NAME
strerror - get error message string
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <string.h> char * strerror(int errnum);
DESCRIPTION
The strerror() function returns a pointer to the language-dependent error message string affiliated with an error number. The array pointed to is not to be modified by the program, but may be overwritten by subsequent calls to strerror().
SEE ALSO
intro(2), perror(3), setlocale(3)
STANDARDS
The strerror() function conforms to ANSI X3.159-1989 (``ANSI C''). NetBSD 1.5.1 June 29, 1991 1