| www.delorie.com/djgpp/doc/libc-2.01/libc_39.html | search |
#include <stdlib.h> void *alloca(size_t _size)
Allocate memory that will be automatically released when the current procedure exits. Note that, when compiling with gcc, alloca is a built-in function and not a library call.
A pointer to the memory, else NULL.
q = alloca(strlen(x)+1); strcpy(q, x);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |