Lines Matching refs:siz
49 * Appends src to string dst of size siz (unlike strncat, siz is the
50 * full size of dst, not space left). At most siz-1 characters
51 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
52 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
53 * If retval >= siz, truncation occurred.
56 strlcat(char *__restrict dst, const char *__restrict src, size_t siz)
61 size_t n = siz;
71 n = siz - dlen;
90 * Find length of string in dst (maxing out at siz).
92 size_t dlen = strnlen(dst, siz);
98 return dlen + strlcpy(dst + dlen, src, siz - dlen);