The strerror () function in C
The function char * strerror (int errnum) searches for an internal array for errnum error numbers and returns a pointer to a string of error messages.
Declaring strerror () function in C Here is the declaration for strerror () in C:
char * strerror ( int errnum ) Parameters errnum - Usually errno , describes the error number.
Returns the value This function returns a pointer to the error string describing errnum error.
[Read More]