delorie.com/djgpp/doc/libc/libc_44.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | No |
POSIX | No |
q = alloca(strlen(x)+1); strcpy(q, x); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |