summaryrefslogtreecommitdiff
path: root/libc/string/stpncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/stpncpy.c')
-rw-r--r--libc/string/stpncpy.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/string/stpncpy.c b/libc/string/stpncpy.c
new file mode 100644
index 000000000..9875ad4cf
--- /dev/null
+++ b/libc/string/stpncpy.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_stpncpy
+#define Wstpncpy __stpncpy
+
+#include "wstring.c"
+
+strong_alias(__stpncpy, stpncpy)
+
+#undef L_stpncpy