Amiga Unix — 68040 · 68060

Manual pages › C library (3C)

strerror(3C)

get error message string

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

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

perror(3C).