2.3.42 size_t strlcpy_PF

size_t strlcpy_PF(char *dst, uint_farptr_t src, size_t siz)

Copy src to string dst of size siz. At most siz-1 characters will be copied. Always NULL terminates (unless siz == 0).

Remember:

The strlcpy_PF() function returns strlen(src). If retval >= siz, truncation occurred. The contents of RAMPZ SFR are undefined when the function returns.