1dat_strerror(3DAT) Direct Access Transport Library Functionsdat_strerror(3DAT)
2
3
4
6 dat_strerror - convert a DAT return code into human readable strings
7
9 cc [ flag... ] file... -ldat [ library... ]
10 #include <dat/udat.h>
11
12 DAT_RETURN
13 dat_strerror(
14 IN DAT_RETURN return,
15 OUT const char **major_message,
16 OUT const char **minor_message
17 )
18
19
21 return DAT function return value.
22
23
24 message A pointer to a character string for the return.
25
26
28 The dat_strerror() function converts a DAT return code into human read‐
29 able strings. The major_message is a string-converted DAT_TYPE_STATUS,
30 while minor_message is a string-converted DAT_SUBTYPE_STATUS. If the
31 return of this function is not DAT_SUCCESS, the values of major_message
32 and minor_message are not defined.
33
34
35 If an undefined DAT_RETURN value was passed as the return parameter,
36 the operation fails with DAT_INVALID_PARAMETER returned. The operation
37 succeeds when DAT_SUCCESS is passed in as the return parameter.
38
40 DAT_SUCCESS The operation was successful.
41
42
43 DAT_INVALID_PARAMETER Invalid parameter. The return value is
44 invalid.
45
46
48 See attributes(5) for descriptions of the following attributes:
49
50
51
52
53 ┌─────────────────────────────┬─────────────────────────────┐
54 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │Interface Stability │Standard: uDAPL, 1.1, 1.2 │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │MT-Level │Safe │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 libdat(3LIB), attributes(5)
63
64
65
66SunOS 5.11 16 Jul 2004 dat_strerror(3DAT)