blob: 35f8b19c2c340d510c7aeaf4a5401b54acbc1d0b [file] [log] [blame]
Rich Felker8d998a72014-08-25 22:47:27 -04001#ifndef _MALLOC_H
2#define _MALLOC_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#define __NEED_size_t
9
10#include <bits/alltypes.h>
11
12void *malloc (size_t);
13void *calloc (size_t, size_t);
14void *realloc (void *, size_t);
15void free (void *);
16void *valloc (size_t);
17void *memalign(size_t, size_t);
18
19size_t malloc_usable_size(void *);
20
21#ifdef __cplusplus
22}
23#endif
24
25#endif