strlcpy/strlcat api for portability's sake.

those functions differently than the strn* ones as
they do not pad with zero to remaining bytes but guarantees
a null terminator.
This commit is contained in:
David Carlier
2023-03-24 09:44:33 +00:00
parent 0144ea1a9d
commit 34f2fff983
3 changed files with 36 additions and 0 deletions
@@ -1,3 +1,7 @@
strcpy works!
strncpy works!
strncpy shaaaaaaaaa
strlcpy works!
copied 14
strlcpy works! and strlcat!
copied 13