File:  [Qemu by Fabrice Bellard] / qemu / roms / ipxe / src / include / alloca.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:58:22 2018 UTC (8 years, 1 month ago) by root
Branches: qemu, MAIN
CVS tags: qemu1101, qemu1001, qemu1000, qemu0151, HEAD
qemu 0.15.1

#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 */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.