.\" generated by cd2nroff 0.1 from CURLOPT_RANDOM_FILE.md .TH CURLOPT_RANDOM_FILE 3 "2025-11-05" libcurl .SH NAME CURLOPT_RANDOM_FILE \- file to read random data from .SH SYNOPSIS .nf #include CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RANDOM_FILE, char *path); .fi .SH DESCRIPTION Deprecated option. It serves no purpose anymore. .SH DEFAULT NULL, not used .SH DEPRECATED Deprecated since 7.84.0. .SH AVAILABILITY Added in curl 7.7 .SH RETURN VALUE \fIcurl_easy_setopt(3)\fP returns a CURLcode indicating success or error. CURLE_OK (0) means everything was OK, non\-zero means an error occurred, see \fIlibcurl\-errors(3)\fP. .SH SEE ALSO .BR CURLOPT_EGDSOCKET (3)