curl_easy_strerror man page

curl_easy_strerror — return string describing error code

Synopsis

#include <curl/curl.h>

const char *curl_easy_strerror(CURLcode errornum);

Description

The curl_easy_strerror(3) function returns a string describing the CURLcode error code passed in the argument errornum.

Typically applications also appreciate CURLOPT_ERRORBUFFER(3) for more specific error descriptions generated at run-time.

Availability

This function was added in libcurl 7.12.0

Return Value

A pointer to a zero terminated string.

See Also

libcurl-errors(3), curl_multi_strerror(3), curl_share_strerror(3)

Referenced By

curl_multi_strerror(3), CURLOPT_ERRORBUFFER(3), curl_share_strerror(3), libcurl-errors(3).

26 Apr 2004 libcurl 7.12 libcurl Manual