Doxygen Source Code Documentation
strerror.c File Reference
Go to the source code of this file.
Functions | |
| char * | strerror (int errno) |
Function Documentation
|
|
Definition at line 13 of file strerror.c. References sys_errlist, and sys_nerr. Referenced by DCM_WriteFile(), dlopen(), get_input_stream(), input_stream(), main(), nc_strerror(), output_information(), pipe_color_transformer(), read_colormap_file(), stringErrorReport(), write_stream(), and writeFile().
00014 {
00015 extern int sys_nerr;
00016 extern char *sys_errlist[];
00017 if (errno < 0 || errno >= sys_nerr)
00018 return (char *)"bad error number";
00019 else
00020 return sys_errlist[errno];
00021 }
|