- Function
Return a string describing an error code.
- Header
- Declaration
char* __fastcall__ strerror (int errcode);- Description
The
strerrorfunction returns a string describing the given error code. If an invalid error code is passed, the string "Unknown error" is returned, anderrnois set toEINVAL. In all other cases,errnois left untouched.- Limits
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- While the return type of the function is a
char*, the returned string must not be modified by the caller!- Availability
ISO 9899
- See also
- Example
None.