Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

tt_release (3)

Name

tt_release - free storage allocated on the ToolTalk API allocation stack

Synopsis

#include <Tt/tt_c.h>
void tt_release(int mark);

Description

tt_release(3)                 ToolTalk Functions                 tt_release(3)



NAME
       tt_release  -  free  storage  allocated  on the ToolTalk API allocation
       stack

SYNOPSIS
       #include <Tt/tt_c.h>
       void tt_release(int mark);

DESCRIPTION
       The tt_release() function frees all storage allocated on  the  ToolTalk
       API allocation stack since mark was returned by tt_mark(3).

       The  mark  argument  is an integer that marks the application's storage
       position in the ToolTalk API allocation stack.

APPLICATION USAGE
       This function frees all storage allocated  since  the  tt_mark(3)  call
       that returned mark and is typically called at the end of a procedure to
       release all storage allocated within the procedure.


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_mark(3).




ToolTalk 1.3                     1 March 1996                    tt_release(3)