curl_easy_unescape.3: rename the argument

and highlight it appropriately in the text.

Closes #10979
This commit is contained in:
Daniel Stenberg 2023-04-16 17:04:39 +02:00
parent 81c9c8cd39
commit fb1d62ff07
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -29,14 +29,14 @@ curl_easy_unescape - URL decodes the given string
.nf
#include <curl/curl.h>
char *curl_easy_unescape(CURL *curl, const char *url,
char *curl_easy_unescape(CURL *curl, const char *input,
int inlength, int *outlength);
.fi
.SH DESCRIPTION
This function converts the given URL encoded input string to a "plain string"
and returns that in an allocated memory area. All input characters that are
URL encoded (%XX where XX is a two-digit hexadecimal number) are converted to
their binary versions.
This function converts the given URL encoded \fBinput\fP string to a "plain
string" and returns that in an allocated memory area. All input characters
that are URL encoded (%XX where XX is a two-digit hexadecimal number) are
converted to their binary versions.
If the \fBlength\fP argument is set to 0 (zero), \fIcurl_easy_unescape(3)\fP
will use strlen() on the input \fIurl\fP string to find out the size.