[][src]Function avr_libc::strlcat_P

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

\ingroup avr_pgmspace \fn size_t strlcat_P(char *dst, const char *src, size_t siz) \brief Concatenate two strings.

The strlcat_P() function is similar to strlcat(), except that the \p src string must be located in program space (flash).

Appends \p src to string \p dst of size \p siz (unlike strncat(), \p siz is the full size of \p dst, not space left). At most \p siz-1 characters will be copied. Always NULL terminates (unless \p siz <= \p strlen(dst)).

\returns The strlcat_P() function returns strlen(src) + MIN(siz, strlen(initial dst)). If retval >= siz, truncation occurred.