How can I hide curl_easy_perform output (in a shell)?
This is in regards to a C application.
How can I hide curl_easy_perform output (in a shell)? This is in regards to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Set the
CURLOPT_WRITEFUNCTIONand/orCURLOPT_WRITEDATAoptions:By default, libcurl writes output to
stdout. When you override this (which is what almost any application will do), it will write to another file or to pass chunks of output to a callback. See the documentation forCURLOPT_WRITEFUNCTIONfor more details.