Sync with upstream.

This commit is contained in:
Anthony J. Bentley
2015-03-03 23:15:05 -07:00
parent b5e7855afd
commit eadaa47770

View File

@@ -24,7 +24,7 @@
* full size of dst, not space left). At most dsize-1 characters * full size of dst, not space left). At most dsize-1 characters
* will be copied. Always NUL terminates (unless dsize <= strlen(dst)). * will be copied. Always NUL terminates (unless dsize <= strlen(dst)).
* Returns strlen(src) + MIN(dsize, strlen(initial dst)). * Returns strlen(src) + MIN(dsize, strlen(initial dst)).
* If retval >= siz, truncation occurred. * If retval >= dsize, truncation occurred.
*/ */
size_t size_t
rgbds_strlcat(char *dst, const char *src, size_t dsize) rgbds_strlcat(char *dst, const char *src, size_t dsize)