aboutsummaryrefslogtreecommitdiffstats
path: root/enaligned_wcsndup.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--enaligned_wcsndup.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/enaligned_wcsndup.c b/enaligned_wcsndup.c
new file mode 100644
index 0000000..9b1aae8
--- /dev/null
+++ b/enaligned_wcsndup.c
@@ -0,0 +1,25 @@
+/* See LICENSE file for copyright and license details. */
+#include "libsimple.h"
+#ifndef TEST
+
+
+wchar_t *
+libsimple_enaligned_wcsndup(int status, const wchar_t *s, size_t alignment, size_t n) /* TOOD test */
+{
+ void *ret = aligned_wcsndup(s, alignment, n);
+ if (!ret)
+ enprintf(status, "aligned_wcsndup:");
+ return ret;
+}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif