ATMI C Function Reference
strerror()
—Gets error message string.
#include <string.h>
char *strerror (int errnum);
strerror
maps the error number in errnum
to an error message string, and returns a pointer to that string. strerror
uses the same set of error messages as perror
. The returned string should not be overwritten.
A thread in a multithreaded application may issue a call to strerror()
while running in any context state, including TPINVALIDCONTEXT
.