2
0
mirror of https://codeberg.org/kiss-community/repo synced 2025-01-07 18:24:59 -07:00
repo/core/curl/files/curl_url_cleanup.3

40 lines
908 B
Groff
Raw Normal View History

.\" generated by cd2nroff 0.1 from curl_url_cleanup.md
2024-12-25 11:28:33 -07:00
.TH curl_url_cleanup 3 "2024-12-25" 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
2024-11-09 21:03:25 -07:00
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.
2024-07-29 18:00:04 -06:00
Any use of the \fBhandle\fP after this function has been called and have
returned, is illegal.
2024-03-30 12:28:04 -06:00
.SH PROTOCOLS
2024-07-29 18:00:04 -06:00
This functionality affects all supported protocols
.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
2024-07-29 18:00:04 -06:00
Added in curl 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)