CURLOPT_NETRC_FILE.3
C
Verdict: BENIGN
Local reference
Suspicious dependency
Inferred
| 1 |
.\" generated by cd2nroff 0.1 from CURLOPT_NETRC_FILE.md |
|
| 2 |
.TH CURLOPT_NETRC_FILE 3 "March 12 2024" libcurl |
|
| 3 |
.SH NAME |
|
| 4 |
CURLOPT_NETRC_FILE \- filename to read .netrc info from |
Package registry credential paths |
| 5 |
.SH SYNOPSIS |
|
| 6 |
.nf |
|
| 25 |
int main(void) |
|
| 26 |
{ |
|
| 27 |
CURL *curl = curl_easy_init(); |
Initializes libcurl easy interface (HTTP |
| 28 |
if(curl) { |
|
| 29 |
CURLcode ret; |
|
| 30 |
curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/"); |
Configures libcurl options (URL, headers, |
| 31 |
curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL); |
|
| 32 |
curl_easy_setopt(curl, CURLOPT_NETRC_FILE, "/tmp/magic-netrc"); |
|
| 33 |
ret = curl_easy_perform(curl); |
Uses libcurl for HTTP communication |
| 34 |
} |
|
| 35 |
} |
|
Objectives
| 1 |
.\" generated by cd2nroff 0.1 from CURLOPT_NETRC_FILE.md |
|
| 2 |
.TH CURLOPT_NETRC_FILE 3 "March 12 2024" libcurl |
|
| 3 |
.SH NAME |
|
| 4 |
CURLOPT_NETRC_FILE \- filename to read .netrc info from |
|
| 5 |
.SH SYNOPSIS |
|
| 6 |
.nf |
|
Micro-behaviors
| 25 |
int main(void) |
|
| 26 |
{ |
|
| 27 |
CURL *curl = curl_easy_init(); |
|
| 28 |
if(curl) { |
|
| 29 |
CURLcode ret; |
|
| 30 |
curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/"); |
|
| 31 |
curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL); |
|
| 32 |
curl_easy_setopt(curl, CURLOPT_NETRC_FILE, "/tmp/magic-netrc"); |
|
| 33 |
ret = curl_easy_perform(curl); |
|
| 34 |
} |
|
| 35 |
} |
|
Identity
| SHA-256 |
e9000d11bdf8e1f271830dbc8c7889147bb0cd939cf8b7eb24b6a8d662f87f1c |
| Filename |
CURLOPT_NETRC_FILE.3 |
Timeline
| First seen |
27 Jun 2026 21:12 UTC |
| First analyzed |
27 Jun 2026 22:01 UTC |
| Last analyzed |
27 Jun 2026 22:01 UTC |
| Last updated |
27 Jun 2026 22:01 UTC |
Labeling
| Label |
good |
| Label source |
harvest |
| Traits version |
868bd |