SysTutorials

Linux Manual Pages › Section 3

curlopt_stderr(3)

CURLOPT_STDERR – redirect stderr to another stream

Synopsis

#include <curl/curl.h>

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_STDERR, FILE *stream);

Description

Pass a FILE * as parameter. Tell libcurl to use this stream instead of stderr when showing the progress meter and displaying CURLOPT_VERBOSE(3) data.

Default

stderr

Protocols

All

Example

TODO

Availability

Always

Return Value

Returns CURLE_OK

See Also

CURLOPT_VERBOSE(3), CURLOPT_NOPROGRESS(3),