OPENSSL_strlcat

Append src onto dst with OpenSSL's bounded strlcat semantics.

Synopsis

Declared in <openssl/crypto.h>

size_t
OPENSSL_strlcat(
    char* dst,
    char const* src,
    size_t siz);

Return Value

Length of the string OPENSSL_strlcat tried to create (strlen(initial dst)+strlen(src)).

Parameters

NameDescription
dstDestination buffer already containing a NUL-terminated prefix.
srcNUL-terminated string to append.
sizTotal capacity of dst in bytes.