/
githubmirror
/
ipxe
Обзор
Документация
Войти
/
githubmirror
/
ipxe
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/include/alloca.h
25 строк
489 B
Michael Brown
alloca() can be useful in some (limited) circumstances.
12 янв 2007, 02:19
12 янв 2007, 02:19
79a399c
Код
Авторство
О чём код?
#ifndef _ALLOCA_H #define _ALLOCA_H /** * @file * * Temporary memory allocation * */ #include <stdint.h> /** * Allocate temporary memory from the stack * * @v size Size to allocate * @ret ptr Allocated 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. */ #define alloca(size) __builtin_alloca ( size ) #endif /* _ALLOCA_H */