tt_int_error - return the status of an error object
#include <Tt/tt_c.h> Tt_status tt_int_error(int return_val);
tt_int_error(3) ToolTalk Functions tt_int_error(3)
NAME
tt_int_error - return the status of an error object
SYNOPSIS
#include <Tt/tt_c.h>
Tt_status tt_int_error(int return_val);
DESCRIPTION
The tt_int_error() function returns the status of an error object.
The return_val argument is the integer returned by a ToolTalk function.
RETURN VALUE
Upon successful completion, the tt_int_error() function returns either
TT_OK, if the integer is not an error object, or the encoded Tt_status
value if the integer is an error object.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+------------------+
|Availability | library/tooltalk |
+---------------+------------------+
|Stability | Committed |
+---------------+------------------+
SEE ALSO
tt_c(5), tt_int_error(3).
ToolTalk 1.3 1 March 1996 tt_int_error(3)