summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:24:05 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:24:05 +0000
commit3a183dae63940680ce98edd3218fb18c5edc456c (patch)
treeedb30e5e7df19e08accdbd11b8476e0a75c532f1 /libc
parent591503c2876982b34b51323ffe64c202b8002798 (diff)
downloaduClibc-alpine-3a183dae63940680ce98edd3218fb18c5edc456c.tar.bz2
uClibc-alpine-3a183dae63940680ce98edd3218fb18c5edc456c.tar.xz
Copy from trunk.
Diffstat (limited to 'libc')
-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