From: Daniel Stenberg Date: Sat, 8 Apr 2006 21:29:01 +0000 (+0000) Subject: mention the outlength argument X-Git-Tag: curl-7_15_4~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09e569f83d440a6901ee9a4ae1cce39b48d8a545;p=thirdparty%2Fcurl.git mention the outlength argument --- diff --git a/docs/libcurl/curl_easy_unescape.3 b/docs/libcurl/curl_easy_unescape.3 index 6b0e6b5fa7..8870daeab4 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.