Maps an errno value to a message string, reentrantly.
#include <string.h> int strerror_r ( int errnum, char *strerrbuf, size_t buflen);
(IN) Specifies the error number to be mapped to an error message.
(OUT) Points to the message string associated with the error number.
(OUT) Specifies the number of bytes in the message string.
If successful, returns 0. Otherwise returns a nonzero error code.
The strerror_r function maps the error number in errnum to a locale-dependent error message string and returns a pointer to it in strerrbuf.