blob: 551311d57af03269bad4d9b59d1b9a19518961b6 (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
#ifndef TEST
wchar_t *
libsimple_enwcsndup(int status, const wchar_t *s, size_t n) /* TODO test */
{
wchar_t *ret = wcsndup(s, n);
if (!ret)
enprintf(status, "wcsndup:");
return ret;
}
#else
#include "test.h"
int
main(void)
{
return 0;
}
#endif
|