size_t strlcpy(char *, const char *, size_t)
Copy src
to string dst
of size siz
. At most siz-1
characters will be copied. Always NULL terminates (unless siz
== 0).
The strlcpy() function returns strlen(src). If retval >= siz, truncation occurred.
The strlcpy() function returns strlen(src). If retval >= siz, truncation occurred.