delorie.com/djgpp/doc/libc/libc_759.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
if (f=fopen("foo", "r") == 0) printf("Error! %s: %s\n", "foo", strerror(errno)); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |