1curl_multi_strerror(3) libcurl Manual curl_multi_strerror(3)
2
3
4
6 curl_multi_strerror - return string describing error code
7
9 #include <curl/curl.h>
10 const char *curl_multi_strerror(CURLMcode errornum);
11
13 The curl_multi_strerror() function returns a string describing the
14 CURLMcode error code passed in the argument errornum.
15
17 int still_running;
18
19 CURLMcode mc = curl_multi_perform(multi_handle, &still_running);
20 if(mc)
21 printf("error: %s\n", curl_multi_strerror(mc));
22
24 This function was added in libcurl 7.12.0
25
27 A pointer to a null-terminated string.
28
30 libcurl-errors(3), curl_easy_strerror(3), curl_share_strerror(3),
31 curl_url_strerror(3)
32
33
34
35libcurl 7.85.0 May 17, 2022 curl_multi_strerror(3)