diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-05 18:16:00 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-05 18:21:42 +0100 |
commit | 82f84bab114e8fb1651041ed1ccff4c30d267f19 (patch) | |
tree | 6267310714f6b360146974c0e1cdf4b63829303c /LibC/string.h | |
parent | e76312ab63e5a0e180a372ca36fd6590fad6f8fd (diff) | |
download | serenity-82f84bab114e8fb1651041ed1ccff4c30d267f19.zip |
More random compat hacking towards getting bash to build.
I'm now at the build stage where it complains about a bajillion missing
symbols. This is a good place to be!
Diffstat (limited to 'LibC/string.h')
-rw-r--r-- | LibC/string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/LibC/string.h b/LibC/string.h index 3da50ca1f6..2693ae19b5 100644 --- a/LibC/string.h +++ b/LibC/string.h @@ -7,8 +7,12 @@ __BEGIN_DECLS size_t strlen(const char*); int strcmp(const char*, const char*); +int strncmp(const char*, const char*, size_t); int memcmp(const void*, const void*, size_t); void memcpy(void*, const void*, size_t); +void memmove(void*, const void*, size_t); +void bzero(void*, size_t); +void bcopy(const void*, void*, size_t); void* memset(void*, int, size_t); char* strcpy(char* dest, const char* src); char* strncpy(char* dest, const char* src, size_t); |