diff options
Diffstat (limited to 'doc/info/chap/memory-allocation.texinfo')
-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 |