Build the default path for the PRNG seed file into a caller‐provided buffer.
Synopsis
Declared in <openssl/rand.h>
char const*
RAND_file_name(
char* file,
size_t num);
Return Value
Pointer to file on success, or NULL on error.
Parameters
Name |
Description |
file |
Output buffer that receives the path (for example from RANDFILE or $HOME/.rnd). |
num |
Size of |
Created with MrDocs