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: d012d9be20c66d2dbb7fdd5b5c6e917e047cd404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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