diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-17 23:53:59 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-17 23:53:59 +0200 |
commit | cf36d347ad589aa732cbc74cc09ccc67cc3f0385 (patch) | |
tree | b7db24f3e9dda0de24af897f5ccbb34cb56a5093 /doc/info/chap | |
parent | info: alloca.h (diff) | |
download | slibc-cf36d347ad589aa732cbc74cc09ccc67cc3f0385.tar.gz slibc-cf36d347ad589aa732cbc74cc09ccc67cc3f0385.tar.bz2 slibc-cf36d347ad589aa732cbc74cc09ccc67cc3f0385.tar.xz |
m info
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | doc/info/chap/memory-allocation.texinfo | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/info/chap/memory-allocation.texinfo b/doc/info/chap/memory-allocation.texinfo index de2264b..768c823 100644 --- a/doc/info/chap/memory-allocation.texinfo +++ b/doc/info/chap/memory-allocation.texinfo @@ -320,7 +320,7 @@ optimisations. You should avoid code similar to strcpy(alloca((strlen(string) + 1) * sizeof(char)), string) @end example -@code{alloca} has its restricts --- limited lifetime, +@code{alloca} has its restrictions --- limited lifetime, cannot be explicitly deallocated, not growable, and not shrinkable --- but it can also be advantageous because: @@ -354,19 +354,19 @@ TODO @node Efficient stack-based allocations @section Efficient stack-based allocations -TODO +TODO obstack.h @node Resizing the data segment @section Resizing the data segment -TODO +TODO brk, sbrk @node Memory locking @section Memory locking -TODO +TODO mlock, munlock, mlockall, munlockall |