Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mtrim.c « stdlib « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f5e0401c0787ced564e0f4f5f1f88d8328780e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* mtrim.c -- a wrapper for malloc_trim.  */

#include <_ansi.h>
#include <reent.h>
#include <stdlib.h>
#include <malloc.h>

#ifndef _REENT_ONLY

int
_DEFUN (malloc_trim, (pad),
	size_t pad)
{
  return _malloc_trim_r (_REENT, pad);
}

#endif