Translates an error number into an error message in a thread-safe manner.
#include <extras/extras_string.h> int strerror_r(int errnum, char *str, size_t bufflen);
errnum
The error number to translate.
str
A pointer to a memory area to copy the error message string to.
bufflen
The size of the storage buffer pointed to by str.
This function provides the same service as strerror() but is reentrant because the caller to strerror_r() provides the storage, str, for the error message string.
The function returns zero if it succeeds. If it fails, the function returns a non-zero value.
This facility may not be available on some configurations of the EWL.