From cf36d347ad589aa732cbc74cc09ccc67cc3f0385 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Oct 2015 23:53:59 +0200 Subject: m info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/chap/memory-allocation.texinfo | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/info/chap') 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 -- cgit v1.2.3-70-g09d2