curl_multi_get_handles(3) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

curl_multi_get_handles(3)

/usr/local/bin/rman를 실행할 수 없습니다

curl_multi_get_handles(3)  Library Functions Manual  curl_multi_get_handles(3)

NAME
       curl_multi_get_handles - return all added easy handles

SYNOPSIS
       #include <curl/curl.h>

       CURL **curl_multi_get_handles(CURLM *multi_handle);

DESCRIPTION
       Returns  an  array  with pointers to all added easy handles. The end of
       the list is marked with a NULL pointer.

       Even if there is not a single easy handle added, this still returns  an
       array but with only a single NULL pointer entry.

       The  returned  array  contains  all the handles that are present at the
       time of the call. As soon as a handle has been removed from or a handle
       has been added to the multi handle after the handle array was returned,
       the two data points are out of sync.

       The order of the easy handles within the array is not guaranteed.

       The returned array must be freed with a call to curl_free(3) after use.

PROTOCOLS
       This functionality affects all supported protocols

EXAMPLE
       int main(void)
       {
         /* init a multi stack */
         CURLM *multi = curl_multi_init();
         CURL *curl = curl_easy_init();

         if(curl) {
           /* add the transfer */
           curl_multi_add_handle(multi, curl);

           /* extract all added handles */
           CURL **list = curl_multi_get_handles(multi);

           if(list) {
             int i;
             /* remove all added handles */
             for(i = 0; list[i]; i++) {
               curl_multi_remove_handle(multi, list[i]);
             }
             curl_free(list);
           }
         }
       }

AVAILABILITY
       Added in curl 8.4.0

RETURN VALUE
       Returns NULL on failure. Otherwise it returns a pointer to an allocated
       array.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       box; cbp-1 | cbp-1 l | l .  ATTRIBUTE TYPE ATTRIBUTE VALUE = Availabil‐
       ity   web/curl = Stability Uncommitted

SEE ALSO
       curl_multi_add_handle(3),  curl_multi_cleanup(3),   curl_multi_init(3),
       curl_multi_remove_handle(3)



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at:
       https://github.com/oracle/solaris-userland

       The original community source was downloaded from:
       https://curl.se/download/curl-8.17.0.tar.bz2

       Further information about this software can be found on the open source
       community website at http://curl.haxx.se/.

libcurl                           2025-12-01         curl_multi_get_handles(3)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3