aboutsummaryrefslogblamecommitdiffstats
path: root/enwmemdup.c
blob: 8f990078b3868507d30d19eb7515f273c6179352 (plain) (tree)
























                                                                           
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
#ifndef TEST


wchar_t *
libsimple_enwmemdup(int status, const wchar_t *s, size_t n) /* TODO test */
{
	wchar_t *ret = wmemdup(s, n);
	if (!ret)
		enprintf(status, "wmemdup:");
	return ret;
}


#else
#include "test.h"

int
main(void)
{
	return 0;
}

#endif