aboutsummaryrefslogtreecommitdiffstats
path: root/envposix_memalignzn.c
blob: 0693ac003906ddb73a33fddcab8eab554561da64 (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 "libsimple.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