Everything

strerror


Returns an error message corresponding to a specified error number.

[Format]

#include <string.h>

char *strerror (long s);

[Parameters]

s Error number

[Return values]

Pointer to the error message (string) corresponding to the specified error number

[Remarks]

The strerror function receives an error number specified by s and returns an error message corresponding to the number. Contents of error messages are implementation-defined.

If the returned error message is modified, correct operation is not guaranteed.