Install curl-7.19.5.tar.bz2
[git/jnareb-git.git] / mingw / share / man / man3 / curl_global_cleanup.3
blob8f75f2c677393ecf9fcfba3363bd0fd45440f34a
1 .\" You can view this file with:
2 .\" nroff -man [file]
3 .\" $Id: curl_global_cleanup.3,v 1.4 2006-02-17 13:31:49 bagder Exp $
4 .\"
5 .TH curl_global_cleanup 3 "17 Feb 2006" "libcurl 7.8" "libcurl Manual"
6 .SH NAME
7 curl_global_cleanup - global libcurl cleanup
8 .SH SYNOPSIS
9 .B #include <curl/curl.h>
10 .sp
11 .BI "void curl_global_cleanup(void);"
12 .ad
13 .SH DESCRIPTION
14 This function releases resources acquired by \fBcurl_global_init(3)\fP.
16 You should call \fIcurl_global_cleanup(3)\fP once for each call you make to
17 \fIcurl_global_init(3)\fP, after you are done using libcurl.
19 \fBThis function is not thread safe.\fP You must not call it when any other
20 thread in the program (i.e. a thread sharing the same memory) is running.
21 This doesn't just mean no other thread that is using libcurl.  Because
22 \fBcurl_global_cleanup(3)\fP calls functions of other libraries that are
23 similarly thread unsafe, it could conflict with any other thread that uses
24 these other libraries.
26 See the description in \fBlibcurl(3)\fP of global environment requirements for
27 details of how to use this function.
29 .SH "SEE ALSO"
30 .BR curl_global_init "(3), "
31 .BR libcurl "(3), "