#include <errno.h> extern char *sys_errlist[];
This array contains error messages, indexed by errno
, that
describe the errors.
not ANSI, not POSIX
printf("Error: %s\n", sys_errlist[errno]);
Go to the first, previous, next, last section, table of contents.