From 09e569f83d440a6901ee9a4ae1cce39b48d8a545 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 8 Apr 2006 21:29:01 +0000 Subject: mention the outlength argument --- docs/libcurl/curl_easy_unescape.3 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/libcurl/curl_easy_unescape.3') diff --git a/docs/libcurl/curl_easy_unescape.3 b/docs/libcurl/curl_easy_unescape.3 index 6b0e6b5fa..8870daeab 100644 --- a/docs/libcurl/curl_easy_unescape.3 +++ b/docs/libcurl/curl_easy_unescape.3 @@ -39,6 +39,10 @@ their binary versions. If the \fBlength\fP argument is set to 0 (zero), curl_easy_unescape() will use strlen() on the input \fIurl\fP string to find out the size. +If \fBoutlength\fP is non-NULL, the function will write the length of the +returned string in the integer it points to. This allows an escaped string +containing %00 to still get used properly after unescaping. + You must \fIcurl_free(3)\fP the returned string when you're done with it. .SH AVAILABILITY Added in 7.15.4 and replaces the old curl_unescape() function. -- cgit v1.2.3