ALLOCA(3) BSD Programmer's Manual ALLOCA(3) NNAAMMEE aallllooccaa - memory allocator SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttddlliibb..hh>> _v_o_i_d _* aallllooccaa(_s_i_z_e___t _s_i_z_e); DDEESSCCRRIIPPTTIIOONN The aallllooccaa() function allocates _s_i_z_e bytes of space in the stack frame of the caller. This temporary space is automatically freed on return. RREETTUURRNN VVAALLUUEESS The aallllooccaa() function returns a pointer to the beginning of the allocated space. If the allocation failed, a NULL pointer is returned. SSEEEE AALLSSOO brk(2), pagesize(2) calloc(3), malloc(3), realloc(3), BBUUGGSS The aallllooccaa() function is machine dependent; its use is discouraged. 4th Berkeley Distribution June 4, 1993 1