Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
curl_global_cleanup(3) | Library Functions 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.PROTOCOLS
This functionality affects all supported protocolsEXAMPLE
int main(void)
{
curl_global_init(CURL_GLOBAL_DEFAULT);
/* use libcurl, then before exiting... */
curl_global_cleanup();
}
AVAILABILITY
Added in curl 7.8RETURN VALUE
NoneSEE ALSO
curl_global_init(3), libcurl(3), libcurl-thread(3)2024-11-23 | libcurl |