mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:47:34 +00:00
LibC: Implement stpcpy
For better code clarity, also reformatted how strcpy increments pointers.
This commit is contained in:
parent
8a43f5a64a
commit
75307803a2
2 changed files with 15 additions and 2 deletions
|
@ -37,6 +37,7 @@ __attribute__((malloc)) char* strdup(char const*);
|
|||
__attribute__((malloc)) char* strndup(char const*, size_t);
|
||||
|
||||
char* strcpy(char* dest, char const* src);
|
||||
char* stpcpy(char* dest, char const* src);
|
||||
char* strncpy(char* dest, char const* src, size_t);
|
||||
__attribute__((warn_unused_result)) size_t strlcpy(char* dest, char const* src, size_t);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue