Files
cdesktop/cde/doc/C/guides/man/m3_tt/free.sgm

69 lines
2.3 KiB
Plaintext

<!-- $XConsortium: free.sgm /main/5 1996/08/30 12:47:17 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN77.rsml.1">]]>
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN77.rsml.1">]]>
<RefMeta>
<RefEntryTitle>tt_free</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>tt_free</Function></RefName>
<RefPurpose>free storage from the ToolTalk API allocation stack
</RefPurpose>
</RefNameDiv>
<!-- $XConsortium: free.sgm /main/5 1996/08/30 12:47:17 rws $-->
<!-- CDE Common Source Format, Version 1.0.0-->
<!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
<!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
<!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
<!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
<RefSynopsisDiv>
<FuncSynopsis Remap="ANSI">
<FuncSynopsisInfo>#include &lt;Tt/tt_c.h>
</FuncSynopsisInfo>
<FuncDef>void <Function>tt_free</Function></FuncDef>
<ParamDef>caddr_t <Parameter>p</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Function>tt_free</Function> function
frees storage from the ToolTalk API allocation stack.
</Para>
<Para>The
<Emphasis>p</Emphasis> argument is the
address of the storage in the ToolTalk API allocation stack to be freed.
</Para>
</RefSect1>
<RefSect1>
<Title>RETURN VALUE</Title>
<Para>The
<Function>tt_free</Function> function returns no value.
</Para>
</RefSect1>
<RefSect1>
<Title>APPLICATION USAGE</Title>
<Para>The application should use the
<Function>tt_free</Function> function instead of
&cdeman.tt.mark; and
&cdeman.tt.release; if, for
example, the process is in a loop
(that is, it obtains strings from the ToolTalk service
and processes each in turn).
</Para>
</RefSect1>
<RefSect1>
<Title>SEE ALSO</Title>
<Para>&cdeman.Tt.tt.c.h;, &cdeman.tt.malloc;, &cdeman.tt.mark;, &cdeman.tt.release;, &cdeman.tt.free;.</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->