C++程序  |  23行  |  323 B

#pragma once

#ifdef __cplusplus
extern "C" {
#endif

#define __NEED_size_t

#include <bits/alltypes.h>

void* malloc(size_t);
void* calloc(size_t, size_t);
void* realloc(void*, size_t);
void free(void*);
void* valloc(size_t);
void* memalign(size_t, size_t);

size_t malloc_usable_size(void*);

#ifdef __cplusplus
}
#endif