NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO | NOTES
#include <bsm/auditwrite.h>
int aw_errno
;
char *
aw_strerror(const int
status);
aw_errno
is a variable set by
auditwrite(3)
to indicate the type of error encountered
during its execution, in much the same manner as
errno(3C)
is set during a system or library call. The supporting
functions convert
auditwrite(3)
error numbers into text strings.
aw_strerror() takes a specified return value status and returns a pointer to a string constant that is the error string.
aw_perror() prints the error message corresponding to status as " s : error_message " to standard error.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWcsu |
MT-Level | MT-Safe |
The returned string must not be overwritten. If string manipulation is required, work on a local copy.
NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO | NOTES