| www.delorie.com/djgpp/doc/libc-2.01/libc_607.html | search |
#include <string.h> char *strerror(int error);
This function returns a string that describes the error.
A pointer to a static string that should not be modified or free'd.
if (f=fopen("foo", "r") == 0)
printf("Error! %s: %s\n", "foo", strerror(errno));
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |