www.delorie.com/gnu/docs/glibc/libc_21.html   search  
 
Buy the book!


The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.2 Allocating Storage For Program Data

This section covers how ordinary programs manage storage for their data, including the famous malloc function and some fancier facilities special the GNU C library and GNU Compiler.

3.2.1 Memory Allocation in C Programs  How to get different kinds of allocation in C.
3.2.2 Unconstrained Allocation  The malloc facility allows fully general dynamic allocation.
3.2.3 Allocation Debugging  Finding memory leaks and not freed memory.
3.2.4 Obstacks  Obstacks are less general than malloc but more efficient and convenient.
3.2.5 Automatic Storage with Variable Size  Allocation of variable-sized blocks of automatic storage that are freed when the calling function returns.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003