DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

tt_malloc(3)




tt_malloc(3)	       C LIBRARY FUNCTIONS	     tt_malloc(3)

NAME
     tt_malloc - allocate storage on the ToolTalk API  allocation
     stack

SYNOPSIS
     #include <Tt/tt_c.h>

     caddr_t tt_malloc(size_t s);

DESCRIPTION
     The tt_malloc() function allocates	storage	on  the	 ToolTalk
     API allocation stack.

     The s argument is the amount of storage to	be  allocated  in
     bytes.

RETURN VALUE
     Upon successful completion, the tt_malloc() function returns
     the  address  of  the storage in the ToolTalk API allocation
     stack that	is to be allocated.   If  NULL	is  returned,  no
     storage is	available.

APPLICATION USAGE
     This function allows the application-provided callback  rou-
     tines  to	take advantage of the allocation stack;	for exam-
     ple, a query filter function can allocate storage to accumu-
     late a result.

SEE ALSO
     Tttt_c(5),	tt_free(3).

Unix System LaboratorLast change: 11 May 1994			1


Man(1) output converted with man2html