1 --- alloca.3.orig 2010-02-22 12:44:05.000000000 -0800
2 +++ alloca.3 2010-02-22 12:50:53.000000000 -0800
15 .Fn alloca "size_t size"
23 bytes of space in the stack frame of the caller.
24 This temporary space is automatically freed on
29 -function returns a pointer to the beginning of the allocated space.
30 +returns a pointer to the beginning of the allocated space.
34 @@ -60,24 +60,20 @@ function returns a pointer to the beginn
44 .\" The function appeared in 32v, pwb and pwb.2 and in 3bsd 4bsd
45 .\" The first man page (or link to a man page that I can find at the
51 is machine and compiler dependent;
52 its use is discouraged.
56 -function is slightly unsafe because it cannot ensure that the pointer
57 +is slightly unsafe because it cannot ensure that the pointer
58 returned points to a valid and usable block of memory.
59 The allocation made may exceed the bounds of the stack, or even go
60 further into other objects in memory, and
61 @@ -86,3 +82,8 @@ cannot determine such an error.
64 with large unbounded allocations.
66 +The use of C99 variable-length arrays and
68 +in the same function will cause the lifetime of alloca's storage to be limited to the block containing the