Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
curl_global_cleanup(3) | libcurl Manual | curl_global_cleanup(3) |
NAME
curl_global_cleanup - global libcurl cleanupDESCRIPTION
This function releases resources acquired by curl_global_init(3).CAUTION
curl_global_cleanup(3) does not block waiting for any libcurl-created threads to terminate (such as threads used for name resolving). If a module containing libcurl is dynamically unloaded while libcurl-created threads are still running then your program may crash or other corruption may occur. We recommend you do not run libcurl from any module that may be unloaded dynamically. This behavior may be addressed in the future.EXAMPLE
curl_global_init(CURL_GLOBAL_DEFAULT);
/* use libcurl, then before exiting... */
curl_global_cleanup();
AVAILABILITY
Added in 7.8RETURN VALUE
NoneSEE ALSO
curl_global_init(3), libcurl(3), libcurl-thread(3),June 15, 2022 | libcurl 7.84.0 |