curl_multi_strerror3
Return string describing error code
Usage
#include <curl/curl.h> const char *curl_multi_strerror(CURLMcode errornum);
Overview
This function returns a string describing the CURLMcode error code passed in the argument errornum.
Protocols
This functionality affects all supported protocols
Examples
int main(void)
{
int still_running;
CURLM *multi = curl_multi_init();
CURLMcode mresult = curl_multi_perform(multi, &still_running);
if(mresult)
printf("error: %s\n", curl_multi_strerror(mresult));
}
Return value
A pointer to a null-terminated string.
Releases
11 releases since Debian 4.0 (Etch); the text changed 8 times.