MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
curlshareinit(3)              libcurl Manual              curlshareinit(3)



NAME
       curlshareinit - Create a shared object

SYNOPSIS
       ##include <>

       CURLSH **curlshareinit( );;

DESCRIPTION
       This  function  returns  a CURLSH handle to be used as input to all the
       other share-functions, sometimes referred to as a share handle on  some
       places  in  the documentation. This init call MUST have a corresponding
       call to curlsharecleanup when all operations using the share are com-
       plete.

       This  share  handle  is  what  you pass to curl using the CURLOPTSHARE
       option with curleasysetopt(3), to make that specific curl handle  use
       the data in this share.

RETURN VALUE
       If  this  function  returns  NUL, something went wrong (out of memory,
       etc.)  and therefore the share object was not created.

SEE ALSO
       curlsharecleanup(3), curlsharesetopt(3)




libcurl 7.10.7                    8 Aug 2003                curlshareinit(3)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™