aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/string.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-03-12 21:23:02 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-03-12 21:23:02 -0700
commit1db28c0e4281f93445d3ded6ed518edefadd2803 (patch)
tree828a2af3c70ad8bb792e0c06a23a9f2bbf519b4b /com32/include/string.h
parentd617310bda3b892fb8626151891748c1ee98106d (diff)
downloadsyslinux-1db28c0e4281f93445d3ded6ed518edefadd2803.tar.gz
syslinux-1db28c0e4281f93445d3ded6ed518edefadd2803.tar.xz
syslinux-1db28c0e4281f93445d3ded6ed518edefadd2803.zip
libcom32: add strpcpy()
Add strpcpy() -- by analogy with mempcpy(), a strcpy() which returns a pointer to the end of the string (specifically, to the final null.)
Diffstat (limited to 'com32/include/string.h')
-rw-r--r--com32/include/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/include/string.h b/com32/include/string.h
index af9792b6..c964ee3b 100644
--- a/com32/include/string.h
+++ b/com32/include/string.h
@@ -23,6 +23,7 @@ __extern char *strcat(char *, const char *);
__extern char *strchr(const char *, int);
__extern int strcmp(const char *, const char *);
__extern char *strcpy(char *, const char *);
+__extern char *strpcpy(char *, const char *);
__extern size_t strcspn(const char *, const char *);
__extern char *strdup(const char *);
__extern char *strndup(const char *, size_t);