man http_perror (Fonctions bibliothèques) - Print an error message.

NAME

http_perror - Print an error message.

SYNOPSIS

#include <http_fetcher.h>

void http_perror(const char *string);

DESCRIPTION

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.

SEE ALSO