iPXE
Defines
alloca.h File Reference

Temporary memory allocation. More...

#include <stdint.h>

Go to the source code of this file.

Defines

#define alloca(size)   __builtin_alloca ( size )
 Allocate temporary memory from the stack.

Detailed Description

Temporary memory allocation.

Definition in file alloca.h.


Define Documentation

#define alloca (   size)    __builtin_alloca ( size )

Allocate temporary memory from the stack.

Parameters:
sizeSize to allocate
Return values:
ptrAllocated memory

This memory will be freed automatically when the containing function returns. There are several caveats regarding use of alloca(); use it only if you already know what they are.

Definition at line 23 of file alloca.h.