diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-17 23:50:36 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-17 23:50:36 +0200 |
commit | eeb2000e18d80c90d48fad421e556fd7fa5f8706 (patch) | |
tree | 9d40b118501131d48744b9a90550492938f82955 /doc/info | |
parent | info: more on alloca (diff) | |
download | slibc-eeb2000e18d80c90d48fad421e556fd7fa5f8706.tar.gz slibc-eeb2000e18d80c90d48fad421e556fd7fa5f8706.tar.bz2 slibc-eeb2000e18d80c90d48fad421e556fd7fa5f8706.tar.xz |
info: alloca.h
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/info')
-rw-r--r-- | doc/info/chap/memory-allocation.texinfo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/info/chap/memory-allocation.texinfo b/doc/info/chap/memory-allocation.texinfo index 5107d3a..de2264b 100644 --- a/doc/info/chap/memory-allocation.texinfo +++ b/doc/info/chap/memory-allocation.texinfo @@ -266,6 +266,7 @@ violation, also known as segmentation fault.} signal. @cpindex Automatic allocations @cpindex Stack-allocations @fnindex alloca +@hfindex alloca.h The function @code{void* alloca(size_t n)} appears on multiple systems: 32V, @sc{PWB}, @sc{PWB}.2, 3@sc{BSD}, 4@sc{BSD}, and @sc{GNU}. It has been @@ -274,7 +275,8 @@ feature-test macros, despite not being standardised (for instance, it does not appear in @sc{POSIX}). This function is however not portable, and will not be made available if @code{_PORTABLE_SOURCE} or -@code{_LIBRARY_HEADER} is defined. +@code{_LIBRARY_HEADER} is defined. @code{alloca} +is defined in the header file @file{<alloca.h>}. @code{void* alloca(size_t n)} is similar to the function @code{malloc}. It allocates a contiguous |