strerror


Character string conversion of error number

[Classification]

Standard library

[Syntax]

#include <string.h>

char *strerror(int errnum);

[Return value]

Returns a pointer to the converted character string.

[Description]

This function converts error number errnum into a character string according to the correspondence relationship of the processing system definition. The value of errnum is usually the duplication of global variable errno. Do not change the specified array of the application program.