mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 11:00:04 +08:00
19 lines
279 B
C
19 lines
279 B
C
/* 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
|