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

개요

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

curl_multi_cleanup(3)

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

curl_multi_cleanup(3)      Library Functions Manual      curl_multi_cleanup(3)

NAME
       curl_multi_cleanup - close down a multi session

SYNOPSIS
       #include <curl/curl.h>

       CURLMcode curl_multi_cleanup(CURLM *multi_handle);

DESCRIPTION
       This  function is the opposite of curl_multi_init(3). Cleans up and re‐
       moves a whole multi stack. It does not free  or  touch  any  individual
       easy  handles  in  any way - they still need to be closed individually,
       using the usual curl_easy_cleanup(3) way.  The  order  of  cleaning  up
       should be:

       1 - curl_multi_remove_handle(3) before any easy handles are cleaned up

       2 - curl_easy_cleanup(3) can now be called independently since the easy
       handle is no longer connected to the multi handle

       3  -  curl_multi_cleanup(3)  should be called when all easy handles are
       removed

       When this function is called, remaining entries in the connection  pool
       held  by  the  multi handle are shut down, which might trigger calls to
       the CURLMOPT_SOCKETFUNCTION(3) callback.

       Passing in a NULL pointer in multi_handle makes  this  function  return
       CURLM_BAD_HANDLE immediately with no other action.

       Any  use  of  the  multi_handle after this function has been called and
       have returned, is illegal.

PROTOCOLS
       This functionality affects all supported protocols

EXAMPLE
       int main(void)
       {
         CURLM *multi = curl_multi_init();

         /* when the multi transfer is done ... */

         /* remove all easy handles, then: */
         curl_multi_cleanup(multi);
       }

AVAILABILITY
       Added in curl 7.9.6

RETURN VALUE
       This function returns a CURLMcode indicating success or error.

       CURLM_OK (0) means everything was OK, non-zero means an error occurred,
       see libcurl-errors(3).


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_easy_cleanup(3),   curl_easy_init(3),   curl_multi_get_handles(3),
       curl_multi_init(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_cleanup(3)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3