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

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

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

#ifndef _REENT_ONLY

_PTR
_DEFUN (memalign, (align, nbytes),
	size_t align _AND
	size_t nbytes)
{
  return _memalign_r (_REENT, align, nbytes);
}

#endif
#endif