curl_global_initSection: libcurl Manual (3)Updated: 11 May 2004 |
curl_global_initSection: libcurl Manual (3)Updated: 11 May 2004 |
CURLcode curl_global_init(long flags);
If this function hasn't been invoked when curl_easy_init(3) is called, it will be done automatically by libcurl.
The flags option is a bit pattern that tells libcurl exact what features to init, as described below. Set the desired bits by ORing the values together.
You must however always use the curl_global_cleanup(3) function, as that cannot be called automatically for you by libcurl.
Calling this function more than once will cause unpredictable results.