newlib-cygwin/newlib/libc/stdlib/msize.c

18 lines
264 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* 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