mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-21 13:46:17 +00:00
37 lines
760 B
Groff
37 lines
760 B
Groff
.\" generated by cd2nroff 0.1 from curl_url_cleanup.md
|
|
.TH curl_url_cleanup 3 "2024-06-01" libcurl
|
|
.SH NAME
|
|
curl_url_cleanup \- free the URL handle
|
|
.SH SYNOPSIS
|
|
.nf
|
|
#include <curl/curl.h>
|
|
|
|
void curl_url_cleanup(CURLU *handle);
|
|
.fi
|
|
.SH DESCRIPTION
|
|
Frees all the resources associated with the given \fICURLU\fP handle!
|
|
|
|
Passing in a NULL pointer in \fIhandle\fP makes this function return
|
|
immediately with no action.
|
|
.SH PROTOCOLS
|
|
All
|
|
.SH EXAMPLE
|
|
.nf
|
|
int main(void)
|
|
{
|
|
CURLU *url = curl_url();
|
|
curl_url_set(url, CURLUPART_URL, "https://example.com", 0);
|
|
curl_url_cleanup(url);
|
|
}
|
|
.fi
|
|
.SH AVAILABILITY
|
|
Added in 7.62.0
|
|
.SH RETURN VALUE
|
|
none
|
|
.SH SEE ALSO
|
|
.BR CURLOPT_CURLU (3),
|
|
.BR curl_url (3),
|
|
.BR curl_url_dup (3),
|
|
.BR curl_url_get (3),
|
|
.BR curl_url_set (3)
|