Lines Matching refs:siz
458 * Appends src to string dst of size siz (unlike strncat, siz is the
459 * full size of dst, not space left). At most siz-1 characters
460 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
461 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
462 * If retval >= siz, truncation occurred.
465 strlcat(char *dst, const char *src, size_t siz)
469 size_t n = siz;
476 n = siz - dlen;
493 * Copy src to string dst of size siz. At most siz-1 characters
494 * will be copied. Always NUL terminates (unless siz == 0).
495 * Returns strlen(src); if retval >= siz, truncation occurred.
500 strlcpy(char *dst, const char *src, size_t siz)
504 size_t n = siz;
516 if (siz != 0)