http_perror(3)

http_perror3

Print an error message.

Usage

#include <http_fetcher.h>

void http_perror(const char *string);

Overview

Prints an informative error message to standard error regarding the most recent error encountered within an HTTP Fetcher call.

Any HTTP Fetcher function that returns -1 can be
investigated by using http_perror.

The argument string is printed first, then a colon and a blank, then a message followed by a newline. To be of most use, the argument string should include the name of the function that incurred the error.

Return value

Returns no value.

Releases

Unchanged in 2 releases since Debian 3.0 (Woody).

  1. 3.0–3.1

From libhttpfetcher-dev 1.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.