Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / stdlib / msize.c
blob108550dcdfde9dfb774915c2a809b5ad260a6f0b
1 #ifndef MALLOC_PROVIDED
2 /* msize.c -- a wrapper for malloc_usable_size. */
4 #include <_ansi.h>
5 #include <reent.h>
6 #include <stdlib.h>
7 #include <malloc.h>
9 #ifndef _REENT_ONLY
11 size_t
12 malloc_usable_size (void *ptr)
14 return _malloc_usable_size_r (_REENT, ptr);
17 #endif
18 #endif