[][src]Function avr_libc::strlcpy

pub unsafe extern "C" fn strlcpy(
    arg1: *mut i8,
    arg2: *const i8,
    arg3: size_t
) -> size_t

\ingroup avr_string \fn size_t strlcpy(char *dst, const char *src, size_t siz) \brief Copy a string.

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

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