Skip navigation.

ATMI C Function Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


strerror(3c)

Name

strerror()—Gets error message string.

Synopsis

#include <string.h> 
char *strerror (int errnum);

Description

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.

See Also

perror(3) in a UNIX system reference manual

 

Skip navigation bar  Back to Top Previous Next