man http_strerror (Fonctions bibliothèques) - Returns a pointer to the current error description message.

NAME

http_strerror - Returns a pointer to the current error description message.

SYNOPSIS

#include <http_fetcher.h>

const char *http_strerror();

DESCRIPTION

Returns a pointer to the current error description message regarding the most recent error encountered within an HTTP Fetcher call.

Any HTTP Fetcher function that returns -1 can be

investigated by using http_strerror.

The message pointed to is only guaranteed to be valid until the next call to http_strerror, so if you need to preserve the message you should make a copy of it.

RETURN VALUE

Returns a pointer to a descriptive error message.

SEE ALSO