LibC: Stub and test strlcpy

This commit is contained in:
Ben Wiederhake 2020-08-23 11:31:21 +02:00 committed by Andreas Kling
commit 3fc2c4866f
Notes: sideshowbarker 2024-07-19 03:14:40 +09:00
3 changed files with 201 additions and 0 deletions

View file

@ -48,6 +48,7 @@ void* memset(void*, int, size_t);
__attribute__((malloc)) char* strdup(const char*);
__attribute__((malloc)) char* strndup(const char*, size_t);
char* strcpy(char* dest, const char* src);
size_t strlcpy(char* dest, const char* src, size_t);
char* strncpy(char* dest, const char* src, size_t);
char* strchr(const char*, int c);
char* strchrnul(const char*, int c);