curl_share_init(3) mojave man page | unix.com

Man Page: curl_share_init

Operating Environment: mojave

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(3) 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.54.0 February 03, 2016 curl_share_init(3)
Related Man Pages
libcurl-share(3) - centos
libcurl-share(3) - osx
curl_share_init(3) - php
libcurl-share(3) - linux
libcurl-share(3) - opensolaris
Similar Topics in the Unix Linux Community
Split large xml into mutiple files and with header and footer in file
12-Core MacPro (2013) kernel_task over 1200%
My first PERL incarnation... Audio Oscillograph
Controlling user input
[BASH] eval command not expanding variables as expected.