1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-01 03:54:15 -04:00

Update to latest strlcat.c

This commit is contained in:
Moritz Grimm 2015-03-03 00:29:47 +01:00
parent cb3787c577
commit 96146fd65c

View File

@ -1,4 +1,4 @@
/* $OpenBSD: strlcat.c,v 1.14 2015/01/15 03:54:12 millert Exp $ */
/* $OpenBSD: strlcat.c,v 1.15 2015/03/02 21:41:08 millert Exp $ */
/*
* Copyright (c) 1998, 2015 Todd C. Miller <Todd.Miller@courtesan.com>
@ -26,7 +26,7 @@
* full size of dst, not space left). At most dsize-1 characters
* will be copied. Always NUL terminates (unless dsize <= strlen(dst)).
* Returns strlen(src) + MIN(dsize, strlen(initial dst)).
* If retval >= siz, truncation occurred.
* If retval >= dsize, truncation occurred.
*/
size_t
strlcat(char *dst, const char *src, size_t dsize)