From 7a1ea510a9fc43ccbc257601b149a90920332e13 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 15 Jul 2016 22:39:04 +0200 Subject: Add Lua source, not compiled yet as libc/libm functions remain unimplemented --- src/common/include/string.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/common/include/string.h') diff --git a/src/common/include/string.h b/src/common/include/string.h index e655f2c..d38bbb6 100644 --- a/src/common/include/string.h +++ b/src/common/include/string.h @@ -20,4 +20,13 @@ int strncmp(const char *s1, const char *s2, size_t n); char *strdup(const char* str); char *strndup(const char* str, size_t count); +//TODO +int strcoll(const char *s1, const char *s2); +size_t strspn(const char *s, const char *accept); +char *strstr(const char *haystack, const char *needle); +char* strerror(int errnum); +char *strpbrk(const char *s, const char *accept); +void *memchr(const void *s, int c, size_t n); + + /* vim: set ts=4 sw=4 tw=0 noet :*/ -- cgit v1.2.3