Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

tt_error_int (3)

Name

tt_error_int - return an integer error object that encodes the code

Synopsis

#include <Tt/tt_c.h>
int tt_error_int(Tt_status ttrc);

Description

tt_error_int(3)               ToolTalk Functions               tt_error_int(3)



NAME
       tt_error_int - return an integer error object that encodes the code

SYNOPSIS
       #include <Tt/tt_c.h>
       int tt_error_int(Tt_status ttrc);

DESCRIPTION
       The  tt_error_int()  function  returns  an  integer  error  object that
       encodes a Tt_status return value, which is within the range of TT_OK ==
       0 <= ttrc < TT_STATUS_LAST.

       The ttrc argument is the Tt_status code that is to be encoded.

RETURN VALUE
       Upon  successful  completion,  the  tt_error_int() function returns the
       encoded Tt_status code.

APPLICATION USAGE
       The integer error objects are negative integers; an application  should
       use this call only when the valid integer values are non-negative.


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_error_int(3)