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

  man pages->Tru64 Unix man pages -> contig_free (9r)              
Title
Content
Arch
Section
 

contig_free(9r)

Contents


NAME    [Toc]    [Back]

       contig_free  - General: Frees a block of memory previously
       allocated by contig_malloc

SYNOPSIS    [Toc]    [Back]

       #include <sys/malloc.h>

       void contig_free(
               void *addr,
               u_long size,
               int type );

ARGUMENTS    [Toc]    [Back]

       Specifies the address of  the  memory  being  freed.  This
       address  was returned in a previous call to contig_malloc.
       Specifies the size (in bytes) of the memory  being  freed.
       You  should pass the same value used to allocate this memory
 in the call to contig_malloc.  Specifies  the  purpose
       for  which  the  memory is being allocated (or freed). The
       memory  type   constants   are   defined   in   the   file
       /usr/sys/include/sys/malloc.h.  Examples  of  memory  type
       constants are M_DEVBUF (device  driver  memory),  M_KTABLE
       (kernel  table  memory), M_RTABLE (routing tables memory),
       and so forth.

DESCRIPTION    [Toc]    [Back]

       The contig_free routine frees the memory  allocated  in  a
       previous  call  to  contig_malloc. If the memory came from
       the saved memory pool, contig_free puts  it  back  in  the
       saved memory pool; otherwise, the interface frees the memory
 to the virtual memory subsystem.

RETURN VALUES    [Toc]    [Back]

       None

SEE ALSO    [Toc]    [Back]

      
      
       Routines: contig_malloc(9r)



                                                  contig_free(9r)
[ Back ]
 Similar pages
Name OS Title
rmfree Tru64 General: Frees space previously allocated into the specified resource map
FREE Tru64 General: Deallocates (frees) the allocated kernel virtual memory
timer_delete Tru64 Deallocates a previously allocated per-process timer (P1003.1b)
blkclr Tru64 General: Zero a block of memory
freeb Tru64 STREAMS: Frees a message block
DtMmdbFreeHandle HP-UX frees memory used by a DtMmdbHandle
DtMmdbFreeHandleList HP-UX frees memory used by a DtMmdbHandle array
XmTabListFree HP-UX A convenience function that frees the memory of a new tab list
DtMmdbFreeGraphicInfo HP-UX frees memory used by a graphics info structure
mac_free IRIX free allocated memory
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service