[#RAND_file_name]
= RAND&lowbar;file&lowbar;name
:mrdocs:

Build the default path for the PRNG seed file into a caller&hyphen;provided buffer&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
char const*
RAND&lowbar;file&lowbar;name(
    char* file,
    size&lowbar;t num);
----

== Return Value

Pointer to `file` on success, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *file*
| Output buffer that receives the path (for example from RANDFILE or $HOME&sol;&period;rnd)&period;
| *num*
| Size of `file` in bytes&period;
|===


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