GNURLOPT_NOPROGRESS(3)
π GNURLOPT_NOPROGRESS(3) β switch off the progress meter π
okay so welcome to this lil page from the curl_easy_setopt options manual, bestie. it's all about the GNURLOPT_NOPROGRESS(3) vibe. π«Ά
π NAME π
CURLOPT_NOPROGRESS β switch off the progress meter. periodt.
πΈ SYNOPSIS πΈ
#include <gnurl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NOPROGRESS, long onoff);
π DESCRIPTION π
If onoff is to 1, it tells the library to shut off the progress meter completely for requests done with this handle. it also prevents CURLOPT_XFERINFOFUNCTION(3) or CURLOPT_PROGRESSFUNCTION(3) from getting called. no cap.
β¨ DEFAULT β¨
1, meaning it normally runs without a progress meter. so the quiet era is the default, iconic.
π¦ PROTOCOLS π¦
All. every single one, slay.
π EXAMPLE π
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
/* enable progress meter */
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
/* Perform the request */
curl_easy_perform(curl);
}
π AVAILABILITY π
Always. like always always.
π RETURN VALUE π
Returns CURLE_OK. nothing dramatic.
π₯ SEE ALSO π₯
this page was brought to you by libcurl 7.37.0, dated 16 Jun 2014 β GNURLOPT_NOPROGRESS(3) signing off, mwah π
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms