Lines Matching refs:siz
448 * Appends src to string dst of size siz (unlike strncat, siz is the
449 * full size of dst, not space left). At most siz-1 characters
450 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
451 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
452 * If retval >= siz, truncation occurred.
455 strlcat(char *dst, const char *src, size_t siz)
459 size_t n = siz;
466 n = siz - dlen;
483 * Copy src to string dst of size siz. At most siz-1 characters
484 * will be copied. Always NUL terminates (unless siz == 0).
485 * Returns strlen(src); if retval >= siz, truncation occurred.
490 strlcpy(char *dst, const char *src, size_t siz)
494 size_t n = siz;
506 if (siz != 0)