Displaying 2 results from an estimated 2 matches for "0c8c046".
2011 Aug 29
0
[PATCH] Add mempcpy() as wrapper around memcpy
...maximilian attems <max at stro.at>
---
usr/include/string.h | 1 +
usr/klibc/Kbuild | 2 +-
usr/klibc/mempcpy.c | 7 +++++++
3 files changed, 9 insertions(+), 1 deletions(-)
create mode 100644 usr/klibc/mempcpy.c
diff --git a/usr/include/string.h b/usr/include/string.h
index 0c8c046..270fddd 100644
--- a/usr/include/string.h
+++ b/usr/include/string.h
@@ -13,6 +13,7 @@ __extern void *memchr(const void *, int, size_t);
__extern void *memrchr(const void *, int, size_t);
__extern int memcmp(const void *, const void *, size_t);
__extern void *memcpy(void *, const void *, size_t...
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
...dd strtok_r()
reentrant version of strtok() was missing in klibc,
use the current strtok() implementation and make
use of it in strtok() itself.
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/include/string.h b/usr/include/string.h
index ae8270e..0c8c046 100644
--- a/usr/include/string.h
+++ b/usr/include/string.h
@@ -44,5 +44,6 @@ __extern char *strsep(char **, const char *);
__extern size_t strspn(const char *, const char *);
__extern char *strstr(const char *, const char *);
__extern char *strtok(char *, const char *);
+__extern char *strtok_...