aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-17 19:01:04 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-17 19:01:04 +0200
commit68b95b535922f26d0cf4778e7967249d0921200f (patch)
treea1101293d7aeead9ce18256f179711380d0a7d8d
parentm info (diff)
downloadslibc-68b95b535922f26d0cf4778e7967249d0921200f.tar.gz
slibc-68b95b535922f26d0cf4778e7967249d0921200f.tar.bz2
slibc-68b95b535922f26d0cf4778e7967249d0921200f.tar.xz
info: sections for the memory allocation chapter
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--doc/info/chap/memory-allocation.texinfo53
1 files changed, 53 insertions, 0 deletions
diff --git a/doc/info/chap/memory-allocation.texinfo b/doc/info/chap/memory-allocation.texinfo
index 32d5f55..b5b5094 100644
--- a/doc/info/chap/memory-allocation.texinfo
+++ b/doc/info/chap/memory-allocation.texinfo
@@ -167,3 +167,56 @@ void function(size_t n)
Both of these allocation-methods are both automatic
and dynamic.
+
+
+@menu
+* The alloca function:: Dynamically allocate automatically freed memory.
+* Basic memory allocation:: Basic functions for dynamic memory allocation.
+* Resizing memory allocations:: How to resize memory allocations.
+* Efficient stack-based allocations:: Improving the performance using constrained allocation methods.
+* Resizing the data segment:: How to change the size of the heap.
+* Memory locking:: How to prevent pages from being swapped out.
+@end menu
+
+
+
+@node The alloca function
+@section The @code{alloca} function
+
+TODO
+
+
+
+@node Basic memory allocation
+@section Basic memory allocation
+
+TODO
+
+
+
+@node Resizing memory allocations
+@section Resizing memory allocations
+
+TODO
+
+
+
+@node Efficient stack-based allocations
+@section Efficient stack-based allocations
+
+TODO
+
+
+
+@node Resizing the data segment
+@section Resizing the data segment
+
+TODO
+
+
+
+@node Memory locking
+@section Memory locking
+
+TODO
+