1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

LibC: Stub and test strlcpy

This commit is contained in:
Ben Wiederhake 2020-08-23 11:31:21 +02:00 committed by Andreas Kling
parent d5b7c28a5e
commit 3fc2c4866f
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);