summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 7122b7959..4191f7ba1 100644
--- a/include/string.h
+++ b/include/string.h
@@ -22,6 +22,8 @@ extern char *strcpy __P ((char *__restrict __dest,
__const char *__restrict __src));
extern char *stpcpy __P ((char *__restrict __dest,
__const char *__restrict __src));
+extern char *stpncpy __P ((char *__restrict __dest,
+ __const char *__restrict __src, size_t __n));
/* Copy no more than N characters of SRC to DEST. */
extern char *strncpy __P ((char *__restrict __dest,
__const char *__restrict __src, size_t __n));