summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-08-11 04:17:52 +0000
committerEric Andersen <andersen@codepoet.org>2001-08-11 04:17:52 +0000
commit1459bf3832b1440e126d96d9177b88edde883956 (patch)
tree63a8984f8fcaa622bdc5b7a40969da217075917c /include/string.h
parent9c0d25bc675620344cfa3304f81c93e7105a2220 (diff)
I just wrote a stpncpy() since someone wanted it
Diffstat (limited to 'include/string.h')
-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));