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