Install curl-7.21.1.tar.bz2
[msysgit.git] / mingw / share / man / man3 / curl_unescape.3
blob9bb470f4e215a2121a1f160761131173dfbf1ce1
1 .\" You can view this file with:
2 .\" nroff -man [file]
3 .\"
4 .TH curl_unescape 3 "22 March 2001" "libcurl 7.7" "libcurl Manual"
5 .SH NAME
6 curl_unescape - URL decodes the given string
7 .SH SYNOPSIS
8 .B #include <curl/curl.h>
9 .sp
10 .BI "char *curl_unescape( char *" url ", int "length " );"
11 .ad
12 .SH DESCRIPTION
13 Obsolete function. Use \fIcurl_easy_unescape(3)\fP instead!
15 This function will convert the given URL encoded input string to a "plain
16 string" and return that as a new allocated string. All input characters that
17 are URL encoded (%XX where XX is a two-digit hexadecimal number) will be
18 converted to their plain text versions.
20 If the 'length' argument is set to 0, curl_unescape() will use strlen() on the
21 input 'url' string to find out the size.
23 You must curl_free() the returned string when you're done with it.
24 .SH AVAILABILITY
25 Since 7.15.4, \fIcurl_easy_unescape(3)\fP should be used. This function will
26 be removed in a future release.
27 .SH RETURN VALUE
28 A pointer to a zero terminated string or NULL if it failed.
29 .SH "SEE ALSO"
30 .I curl_easy_escape(3), curl_easy_unescape(3), curl_free(3), RFC 2396