repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
stdlib
/
msize.c
blob
108550dcdfde9dfb774915c2a809b5ad260a6f0b
1
#ifndef MALLOC_PROVIDED
2
/* msize.c -- a wrapper for malloc_usable_size. */
3
4
#include <_ansi.h>
5
#include <reent.h>
6
#include <stdlib.h>
7
#include <malloc.h>
8
9
#ifndef _REENT_ONLY
10
11
size_t
12
malloc_usable_size
(
void
*
ptr
)
13
{
14
return
_malloc_usable_size_r
(
_REENT
,
ptr
);
15
}
16
17
#endif
18
#endif