repo.or.cz
/
smenu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix BS handling
[smenu.git]
/
xmalloc.h
blob
a9aaa9710be0608114c329fc4d49d90987fbbde4
1
#ifndef XMALLOC_H
2
#define XMALLOC_H
3
4
void
*
5
rpl_malloc
(
size_t
size
);
6
7
void
*
8
rpl_realloc
(
void
*
ptr
,
size_t
size
);
9
10
void
*
11
xmalloc
(
size_t
size
);
12
13
void
*
14
xcalloc
(
size_t
n
,
size_t
size
);
15
16
void
*
17
xrealloc
(
void
*
ptr
,
size_t
size
);
18
19
char
*
20
xstrdup
(
const char
*
p
);
21
22
char
*
23
xstrndup
(
const char
*
str
,
size_t
len
);
24
25
#endif