| www.delorie.com/djgpp/doc/libc-2.01/libc_636.html | search |
#include <errno.h> extern int sys_nerr;
This variable gives the number of error messages in sys_errlist
(see section sys_errlist).
if (errno < sys_nerr)
printf("Error: %s\n", sys_errlist[errno]);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |