PICL_STRERROR(3PICL) PICL Library Functions PICL_STRERROR(3PICL)


NAME


picl_strerror - get error message string

SYNOPSIS


cc [flag ...] file ... -lpicl [library ...]
#include <picl.h>

char *picl_strerror(int errnum);


DESCRIPTION


The picl_strerror() function maps the error number in errnum to an error
message string, and returns a pointer to that string. The returned string
should not be overwritten.

RETURN VALUES


The picl_strerror() function returns NULL if errnum is out-of-range.

ATTRIBUTES


See attributes(5) for descriptions of the following attributes:


+---------------+-----------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------+
|MT-Level | MT-Safe |
+---------------+-----------------+

SEE ALSO


libpicl(3PICL), attributes(5)


March 28, 2000 PICL_STRERROR(3PICL)