__alloca

Allocate data from the caller's stack frame. This is a 'magic' function that needs help from the compiler to work right, do not change its name, do not call it from other compilers. Input: nbytes number of bytes to allocate ECX address of variable with # of bytes in locals This is adjusted upon return to reflect the additional size of the stack frame.

version(alloca) extern (C)
void*
__alloca
(
int nbytes
)

Return Value

Type: void*

EAX allocated data, null if stack overflows

Suggestion Box / Bug Report