curl_multi_strerror(3)

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.

Examples

int main(void)
{
  int still_running;
  CURLM *multi = curl_multi_init();
  CURLMcode mc = curl_multi_perform(multi, &still_running);
  if(mc)
    printf("error: %s\n", curl_multi_strerror(mc));
}

Return value

A pointer to a null-terminated string.

Releases

135 releases since Mac OS X 10.4; the text changed 17 times.

  1. 10.4–10.4.11
  2. 10.5–10.6.2
  3. 10.6.3–10.6.8
  4. 10.7–10.7.5
  5. 10.8–10.11.6
  6. 10.12–10.12.5
  7. 10.12.6–10.14.6
  8. 10.15–11.5
  9. 12.0.1–12.2
  10. 12.3–12.5
  11. 13.0
  12. 13.1
  13. 13.2
  14. 13.3
  15. 13.4
  16. 13.5–14.1
  17. 14.2–14.4
  18. 14.5–26.5

Availability

This function was added in libcurl 7.12.0

From curl 166.0.0.0.1 in macOS 26.5. Parsed by carta from the page's man source.