http_strerror(3)

http_strerror3

Returns a pointer to the current error description message.

Usage

#include <http_fetcher.h>

const char *http_strerror();

Overview

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.

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.