CURLOPT_RANDOM_FILE.md (756B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Title: CURLOPT_RANDOM_FILE 5 Section: 3 6 Source: libcurl 7 See-also: 8 - CURLOPT_EGDSOCKET (3) 9 Protocol: 10 - TLS 11 TLS-backend: 12 - OpenSSL 13 Added-in: 7.7 14 --- 15 16 # NAME 17 18 CURLOPT_RANDOM_FILE - file to read random data from 19 20 # SYNOPSIS 21 22 ~~~c 23 #include <curl/curl.h> 24 25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RANDOM_FILE, char *path); 26 ~~~ 27 28 # DESCRIPTION 29 30 Deprecated option. It serves no purpose anymore. 31 32 # DEFAULT 33 34 NULL, not used 35 36 # DEPRECATED 37 38 Deprecated since 7.84.0. 39 40 # %AVAILABILITY% 41 42 # RETURN VALUE 43 44 curl_easy_setopt(3) returns a CURLcode indicating success or error. 45 46 CURLE_OK (0) means everything was OK, non-zero means an error occurred, see 47 libcurl-errors(3).