Direct Access Transport Library Functions datstrerror(3DAT)
NAME
datstrerror - convert a DAT return code into human readable
strings
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include
DATRETURN
datstrerror(
IN DATRETURN return,
OUT const char **majormessage,
OUT const char **minormessage
)
PARAMETERS
return DAT function return value.
message A pointer to a character string for the return.
DESCRIPTION
The datstrerror() function converts a DAT return code into
human readable strings. The majormessage is a string-
converted DATYPESTATUS, while minormessage is a string-
converted DATSUBTYPESTATUS. If the return of this function
is not DATSUCES, the values of majormessage and
minormessage are not defined.
If an undefined DATRETURN value was passed as the return
parameter, the operation fails with DATINVALIDPARAMETER
returned. The operation succeeds when DATSUCES is passed
in as the return parameter.
RETURN VALUES
DATSUCES The operation was successful.
DATINVALIDPARAMETER Invalid parameter. The return value
is invalid.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 16 Jul 2004 1
Direct Access Transport Library Functions datstrerror(3DAT)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard: uDAPL, 1.1, 1.2
MT-Level Safe
SEE ALSO
libdat(3LIB), attributes(5)
SunOS 5.11 Last change: 16 Jul 2004 2
|