cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Output with curl_easy_perform Question

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Mon, 14 Apr 2008 01:17:29 -0500

On Sun, Apr 13, 2008 at 7:57 PM, Thomas Bonham
<thomasbonham_at_bonhamlinux.org> wrote:

> I would like to know if there is some way not have have any html out put to
> my screen at all.

You can assign an "empty" write callback using CURLOPT_WRITEFUNCTION.
Your callback will do nothing, except to return the correct number of bytes.

 - Jeff
Received on 2008-04-14