Lines Matching defs:siz
35 * Copy src to string dst of size siz. At most siz-1 characters
36 * will be copied. Always NUL terminates (unless siz == 0).
37 * Returns strlen(src); if retval >= siz, truncation occurred.
40 strlcpy(char *dst, const char *src, size_t siz)
44 size_t n = siz;
56 if (siz != 0)
90 * Appends src to string dst of size siz (unlike strncat, siz is the
91 * full size of dst, not space left). At most siz-1 characters
92 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
93 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
94 * If retval >= siz, truncation occurred.
97 strlcat(char *dst, const char *src, size_t siz)
101 size_t n = siz;
108 n = siz - dlen;