summaryrefslogtreecommitdiff
path: root/sys/include/ape/string.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2013-12-28 05:14:10 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2013-12-28 05:14:10 +0100
commit7143b286b7b57eed2b49ba143dcae90be3716b0e (patch)
tree51d097b34895fd2e86dd76e37a78792aadf49638 /sys/include/ape/string.h
parent4aa68d2f3a10b81fecc27550c9e1bb05b7b74887 (diff)
ape: move strdup() from libbsd to libap (from sources)
including <string.h> should be enougth to make strdup() available.
Diffstat (limited to 'sys/include/ape/string.h')
-rw-r--r--sys/include/ape/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/ape/string.h b/sys/include/ape/string.h
index 0e2144c72..52813b15d 100644
--- a/sys/include/ape/string.h
+++ b/sys/include/ape/string.h
@@ -9,6 +9,7 @@ extern "C" {
#endif
extern void *memcpy(void *, const void *, size_t);
+extern void *memccpy(void*, void*, int, size_t);
extern void *memmove(void *, const void *, size_t);
extern char *strcpy(char *, const char *);
extern char *strncpy(char *, const char *, size_t);
@@ -17,6 +18,7 @@ extern char *strncat(char *, const char *, size_t);
extern int memcmp(const void *, const void *, size_t);
extern int strcmp(const char *, const char *);
extern int strcoll(const char *, const char *);
+extern char *strdup(char*);
extern int strncmp(const char *, const char *, size_t);
extern size_t strxfrm(char *, const char *, size_t);
extern void *memchr(const void *, int, size_t);