repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
iconv: add aliases for GBK
[musl.git]
/
include
/
malloc.h
blob
35f8b19c2c340d510c7aeaf4a5401b54acbc1d0b
1
#ifndef _MALLOC_H
2
#define _MALLOC_H
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#define __NEED_size_t
9
10
#include <bits/alltypes.h>
11
12
void
*
malloc
(
size_t
);
13
void
*
calloc
(
size_t
,
size_t
);
14
void
*
realloc
(
void
*,
size_t
);
15
void
free
(
void
*);
16
void
*
valloc
(
size_t
);
17
void
*
memalign
(
size_t
,
size_t
);
18
19
size_t
malloc_usable_size
(
void
*);
20
21
#ifdef __cplusplus
22
}
23
#endif
24
25
#endif