Lines Matching refs:siz
446 * Appends src to string dst of size siz (unlike strncat, siz is the
447 * full size of dst, not space left). At most siz-1 characters
448 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
449 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
450 * If retval >= siz, truncation occurred.
453 strlcat(char *dst, const char *src, size_t siz)
457 size_t n = siz;
464 n = siz - dlen;
481 * Copy src to string dst of size siz. At most siz-1 characters
482 * will be copied. Always NUL terminates (unless siz == 0).
483 * Returns strlen(src); if retval >= siz, truncation occurred.
486 strlcpy(char *dst, const char *src, size_t siz)
490 size_t n = siz;
502 if (siz != 0)