curl_share_init(3) linux man page | unix.com

Man Page: curl_share_init

Operating Environment: linux

Section: 3

curl_share_init(3)						  libcurl Manual						curl_share_init(3)

NAME
curl_share_init - Create a shared object
SYNOPSIS
#include <curl/curl.h> CURLSH *curl_share_init( );
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 in some places in the documentation. This init call MUST have a corresponding call to curl_share_cleanup when all operations using the share are complete. This share handle is what you pass to curl using the CURLOPT_SHARE option with curl_easy_setopt(3), to make that specific curl handle use the data in this share.
RETURN VALUE
If this function returns NULL, something went wrong (out of memory, etc.) and therefore the share object was not created.
SEE ALSO
curl_share_cleanup(3), curl_share_setopt(3) libcurl 7.10.7 8 Aug 2003 curl_share_init(3)
Related Man Pages
curlopt_share(3) - mojave
libcurl-share(3) - osx
curl_share_init(3) - php
libcurl-share(3) - opensolaris
libcurl-share(3) - posix
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Featured Books and Articles by Active Forum Members
User Guide: Posting in the Emergency Forum
Status of UNIX.COM Forum Transformation
UNIX.com End of Year (EOY) Report (2019)