CURLOPT_RANDOM_FILE(3) Library Functions Manual CURLOPT_RANDOM_FILE(3)

CURLOPT_RANDOM_FILE - file to read random data from

#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RANDOM_FILE, char *path);

Deprecated option. It serves no purpose anymore.

NULL, not used

Deprecated since 7.84.0.

Added in curl 7.7

curl_easy_setopt(3) returns a CURLcode indicating success or error.

CURLE_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors(3).

CURLOPT_EGDSOCKET(3)

2025-02-08 libcurl