aboutsummaryrefslogtreecommitdiffstats
path: root/envposix_memalignzn.c
blob: cb3472560a760912b08dbb0a1c1b3ce35a15aca5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* See LICENSE file for copyright and license details. */
#include "common.h"
#ifndef TEST


void
libsimple_envposix_memalignzn(int status, void **memptr, int clear, size_t alignment, size_t n, va_list ap)
{
	int err = libsimple_vposix_memalignzn(memptr, clear, alignment, n, ap);
	if (err) {
		errno = err;
		enprintf(status, "posix_memalign:");
	}
}


#else
#include "test.h"

int
main(void)
{
	return 0; /* Tested via libsimple_enposix_memalignzn */
}

#endif