*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> tt_malloc (3)              
Title
Content
Arch
Section
 

Contents


 tt_malloc(library call)                             tt_malloc(library call)




 NAME    [Toc]    [Back]
      tt_malloc - allocate storage on the ToolTalk API allocation stack

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tt_c.h>
      caddr_t tt_malloc(
      size_t s);

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      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    [Toc]    [Back]
      This function allows the application-provided callback routines to
      take advantage of the allocation stack; for example, a query filter
      function can allocate storage to accumulate a result.

 SEE ALSO    [Toc]    [Back]
      Tt/tt_c.h - Tttt_c(5), tt_free(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
tt_free HP-UX free storage from the ToolTalk API allocation stack
tt_mark HP-UX mark a storage position in the ToolTalk API allocation stack
tt_release HP-UX free storage allocated on the ToolTalk API allocation stack
mac_prepare_process_label FreeBSD allocate appropriate storage for mac_t
mac_prepare_file_label FreeBSD allocate appropriate storage for mac_t
mac_prepare FreeBSD allocate appropriate storage for mac_t
mac_prepare_ifnet_label FreeBSD allocate appropriate storage for mac_t
acl_init Tru64 Allocate and initialize ACL internal working storage
Tttt_c HP-UX ToolTalk definitions
Tttttk HP-UX ToolTalk definitions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service