libite 2.6.1
|
#include <sys/types.h>
#include <string.h>
Go to the source code of this file.
Functions | |
size_t | strlcat (char *dst, const char *src, size_t dsize) |
size_t strlcat | ( | char * | dst, |
const char * | src, | ||
size_t | dsize ) |
Safe version of strncat() from OpenBSD
dst | Destination string |
src | Source string |
dsize | Total maximum size of dst |
Appends src
to string dst
of size dsize
(unlike strncat(), dsize
is the full size of dst
, not space left). At most dsize-1 characters will be copied. Always NUL terminates (unless dsize <= strlen(dst)).