mirror of
https://github.com/curl/curl.git
synced 2026-07-04 22:47:17 +03:00
- Kamil Dudka made the curl tool properly call curl_global_init() before any
other libcurl function.
This commit is contained in:
parent
34cd99d1d9
commit
6173e38fdc
3 changed files with 13 additions and 5 deletions
|
|
@ -1510,7 +1510,9 @@ CURL_EXTERN void curl_free(void *p);
|
|||
* DESCRIPTION
|
||||
*
|
||||
* curl_global_init() should be invoked exactly once for each application that
|
||||
* uses libcurl
|
||||
* uses libcurl and before any call of other libcurl function.
|
||||
*
|
||||
* This function is not thread-safe!
|
||||
*/
|
||||
CURL_EXTERN CURLcode curl_global_init(long flags);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue