summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-04-16 17:04:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-04-16 17:06:01 +0200
commitb831f853081a8e9c91e4ebd615e5cd84b1a6dda8 (patch)
tree9c41a2f59d2871c005668b2900822f1edd32f039
parent15a361892d43828b01cf245c70ebb98f21a8dc83 (diff)
downloadcurl-bagder/unescape-arg-name.tar.gz
curl_easy_unescape.3: rename the argumentbagder/unescape-arg-name
and highlight it appropriately in the text.
-rw-r--r--docs/libcurl/curl_easy_unescape.310
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/libcurl/curl_easy_unescape.3 b/docs/libcurl/curl_easy_unescape.3
index 8d85a1e9a..3bf02050b 100644
--- a/docs/libcurl/curl_easy_unescape.3
+++ b/docs/libcurl/curl_easy_unescape.3
@@ -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.