size_t strlcpy_P

size_t strlcpy_P(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_P() function is similar to strlcpy() except that the src is pointer to a string in memory space.


The strlcpy_P() function returns strlen(src). If retval >= siz, truncation occurred.