allocate space in the stack frame
Function
SYNOPSIS
#include
void *alloca(size_t size);
DESCRIPTION
The alloca() function allocates space in the stack frame of the caller, and returns a pointer to the allocated block. This temporary space is automatically freed when the function from which alloca() is called returns.
PARAMETERS
size
Specifies the size of the allocated block of memory.
RETURN VALUES
The alloca() function returns a null pointer if there is insufficient memory.
No comments:
Post a Comment