[#OPENSSL_strlcpy]
= OPENSSL&lowbar;strlcpy
:mrdocs:

Copy `src` into `dst` with BSD strlcpy semantics&period;

== Synopsis

Declared in `&lt;openssl&sol;crypto&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
OPENSSL&lowbar;strlcpy(
    char* dst,
    char const* src,
    size&lowbar;t siz);
----

== Return Value

Length of `src` (as if there were no truncation)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dst*
| Destination buffer of `siz` bytes&period;
| *src*
| NUL&hyphen;terminated source string&period;
| *siz*
| Capacity of `dst` including space for the NUL terminator&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
