mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 03:19:54 +08:00
e91ec2e3e6
* libc/stdlib/mlock.c: Ditto. * libc/stdlib/msize.c: Ditto. * libc/stdlib/msize.c: Ditto. * libc/stdlib/mtrim.c: Ditto. * libc/stdlib/valloc.c: Ditto.
20 lines
295 B
C
20 lines
295 B
C
#ifndef MALLOC_PROVIDED
|
|
/* msize.c -- a wrapper for malloc_usable_size. */
|
|
|
|
#include <_ansi.h>
|
|
#include <reent.h>
|
|
#include <stdlib.h>
|
|
#include <malloc.h>
|
|
|
|
#ifndef _REENT_ONLY
|
|
|
|
size_t
|
|
_DEFUN (malloc_usable_size, (ptr),
|
|
_PTR ptr)
|
|
{
|
|
return _malloc_usable_size_r (_REENT, ptr);
|
|
}
|
|
|
|
#endif
|
|
#endif
|