aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/msize.c
blob: e910c44ec1c6f866f1a20e96f73b333d47066847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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