Penguin
Annotated edit history of alloca(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ALLOCA
2 !!!ALLOCA
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 BUGS
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 alloca - memory allocator
15 !!SYNOPSIS
16
17
18 __#include __
19
20
21 __void *alloca( size_t__
22 ''size''__);__
23 !!DESCRIPTION
24
25
26 The __alloca__ function allocates ''size'' bytes of
27 space in the stack frame of the caller. This temporary space
28 is automatically freed on return.
29 !!RETURN VALUE
30
31
32 The __alloca__ function returns a pointer to the
33 beginning of the allocated space. If the allocation failed,
34 a __NULL__ pointer is returned.
35 !!CONFORMING TO
36
37
38 There is evidence that the __alloca__ function appeared
39 in 32v, pwb, pwb.2, 3bsd, and 4bsd. There is a man page for
40 it in BSD 4.3. Linux uses the GNU version.
41 !!BUGS
42
43
44 The __alloca__ function is machine
45 dependent.
46 !!SEE ALSO
47
48
49 brk(2), pagesize(2), calloc(3),
50 malloc(3), realloc(3)
51 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.