1tnfctl_strerror(3TNF) TNF Library Functions tnfctl_strerror(3TNF)
2
3
4
6 tnfctl_strerror - map a tnfctl error code to a string
7
9 cc [ flag ... ] file ... -ltnfctl [ library ... ]
10 #include <tnf/tnfctl.h>
11
12
13
14 const char * tnfctl_strerror(tnfctl_errcode_t errcode);
15
16
18 tnfctl_strerror() maps the error number in errcode to an error message
19 string, and it returns a pointer to that string. The returned string
20 should not be overwritten or freed.
21
23 tnfctl_strerror() returns the string "unknown libtnfctl.so error code"
24 if the error number is not within the legal range.
25
27 See attributes(5) for descriptions of the following attributes:
28
29
30
31
32 ┌─────────────────────────────┬─────────────────────────────┐
33 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
34 ├─────────────────────────────┼─────────────────────────────┤
35 │Availability │SUNWtnfc │
36 ├─────────────────────────────┼─────────────────────────────┤
37 │MT Level │MT-Safe │
38 └─────────────────────────────┴─────────────────────────────┘
39
41 prex(1), TNF_PROBE(3TNF), libtnfctl(3TNF), tracing(3TNF), attributes(5)
42
43
44
45SunOS 5.11 4 Mar 1997 tnfctl_strerror(3TNF)