Add pvalloc()
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef _BITS_MALLOC_H
|
||||
#define _BITS_MALLOC_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
// Generated from:
|
||||
// `grep "malloc\|calloc\|realloc\|free\|valloc\|memalign" target/include/stdlib.h`
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void *calloc(size_t nelem, size_t elsize);
|
||||
void free(void *ptr);
|
||||
void *malloc(size_t size);
|
||||
void *memalign(size_t alignment, size_t size);
|
||||
void *realloc(void *ptr, size_t size);
|
||||
void *valloc(size_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user