1curl_share_strerror(3)          libcurl Manual          curl_share_strerror(3)
2
3
4

NAME

6       curl_share_strerror - return string describing error code
7

SYNOPSIS

9       #include <curl/curl.h>
10       const char *curl_share_strerror(CURLSHcode errornum);
11

DESCRIPTION

13       The  curl_share_strerror(3)  function  returns  a string describing the
14       CURLSHcode error code passed in the argument errornum.
15

EXAMPLE

17         CURLSHcode sh;
18         share = curl_share_init();
19         sh = curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT);
20         if(sh)
21           printf("Error: %s\n", curl_share_strerror(sh));
22

AVAILABILITY

24       This function was added in libcurl 7.12.0
25

RETURN VALUE

27       A pointer to a null-terminated string.
28

SEE ALSO

30       libcurl-errors(3),    curl_multi_strerror(3),    curl_easy_strerror(3),
31       curl_url_strerror(3)
32
33
34
35libcurl 8.0.1                  January 02, 2023         curl_share_strerror(3)
Impressum