[#CRYPTO_zalloc]
= CRYPTO&lowbar;zalloc
:mrdocs:

Allocate `num` bytes of zero&hyphen;initialized memory (file&sol;line for debugging)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
CRYPTO&lowbar;zalloc(
    size&lowbar;t num,
    char const* file,
    int line);
----

== Return Value

Pointer to zeroed memory, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *num*
| Number of bytes to allocate&period;
| *file*
| Source file name recorded with the allocation (usually *FILE*)&period;
| *line*
| Source line recorded with the allocation (usually *LINE*)&period;
|===


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