mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 05:52:19 +00:00
LibC: Stub and test strlcpy
This commit is contained in:
parent
d5b7c28a5e
commit
3fc2c4866f
Notes:
sideshowbarker
2024-07-19 03:14:40 +09:00
Author: https://github.com/BenWiederhake
Commit: 3fc2c4866f
Pull-request: https://github.com/SerenityOS/serenity/pull/3275
Reviewed-by: https://github.com/awesomekling
3 changed files with 201 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue