[#CRYPTO_memdup] = CRYPTO_memdup :mrdocs: Duplicate `siz` bytes from `str` using the OpenSSL allocator. == Synopsis Declared in `<openssl/crypto.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* CRYPTO_memdup( void const* str, size_t siz, char const* file, int line); ---- == Return Value Newly allocated copy, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *str* | Source memory to copy. | *siz* | Number of bytes to duplicate. | *file* | Source file name recorded with the allocation (usually *FILE*). | *line* | Source line recorded with the allocation (usually *LINE*). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#