curl_easy_strerror man page

curl_easy_strerror ā€” return string describing error code


#include <curl/curl.h>

const char *curl_easy_strerror(CURLcode errornum);


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.


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).

February 03, 2016 libcurl 7.61.1 libcurl Manual