tt_is_err - check status value
#include <Tt/tt_c.h> int tt_is_err(Tt_status s);
tt_is_err(3) ToolTalk Functions tt_is_err(3) NAME tt_is_err - check status value SYNOPSIS #include <Tt/tt_c.h> int tt_is_err(Tt_status s); DESCRIPTION The tt_is_err() function checks whether a status value is a warning or an error. The s argument is the Tt_status code to check. RETURN VALUE Upon successful completion, the tt_is_err() function returns one of the following integers: 0 The Tt_status is either a warning or TT_OK. 1 The Tt_status is an error. ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+------------------+ |Availability | library/tooltalk | +---------------+------------------+ |Stability | Committed | +---------------+------------------+ SEE ALSO tt_c(5). ToolTalk 1.3 1 March 1996 tt_is_err(3)