The returned pointer points to a statically allocated string, which shall not be modified by the program. Further calls to this function will overwrite its content.
The error strings produced by strerror depend on the developing platform and compiler.
Parameters
- errnum
- Error number.
Return Value
A pointer to the error string describing error errnum.Example
| 1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
A possible output:
|
See also
| perror | Print error message (function) |
