FreeBSD/Linux Kernel Cross Reference
sys/include/alloca.h
1 /* alloca.h - The dreaded alloca() function.
2 */
3
4 #ifndef _ALLOCA_H
5 #define _ALLOCA_H
6
7 #ifndef _TYPES_H
8 #include <sys/types.h>
9 #endif
10
11 #if __GNUC__
12
13 /* The compiler recognizes this special keyword, and inlines the code. */
14 #define alloca(size) __builtin_alloca(size)
15
16 #endif /* __GCC__ */
17
18 #if __ACK__ || __CCC__
19
20 _PROTOTYPE(void *alloca, (size_t _size) );
21
22 #endif /* __ACK__ || __CCC__ */
23
24 #endif /* _ALLOCA_H */
Cache object: f27720fcb2179387bc878d47ff6cbb17
|