home *** CD-ROM | disk | FTP | other *** search
- @node strerror, stdio
- @subheading Syntax
-
- @example
- #include <string.h>
-
- char *strerror(int error);
- @end example
-
- @subheading Description
-
- This function returns a string that describes the @var{error}.
-
- @subheading Return Value
-
- A pointer to a static string that should not be modified or free'd.
-
- @subheading Example
-
- @example
- if (f=fopen("foo", "r") == 0)
- printf("Error! %s: %s\n", "foo", strerror(errno));
- @end example
-
-