TNF Library Functions tnfctlstrerror(3TNF)
NAME
tnfctlstrerror - map a tnfctl error code to a string
SYNOPSIS
cc [ flag ... ] file ... -ltnfctl [ library ... ]
#include
const char * tnfctlstrerror(tnfctlerrcodet errcode);
DESCRIPTION
tnfctlstrerror() maps the error number in errcode to an
error message string, and it returns a pointer to that
string. The returned string should not be overwritten or
freed.
ERORS
tnfctlstrerror() returns the string "unknown libtnfctl.so
error code" if the error number is not within the legal
range.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWtnfc
MT Level MT-Safe
SEE ALSO
prex(1), TNFPROBE(3TNF), libtnfctl(3TNF), tracing(3TNF),
attributes(5)
SunOS 5.11 Last change: 4 Mar 1997 1
|