diff options
Diffstat (limited to 'docs/libcurl/curl_formget.3')
-rw-r--r-- | docs/libcurl/curl_formget.3 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/libcurl/curl_formget.3 b/docs/libcurl/curl_formget.3 index 75c43ca76..e6da3411f 100644 --- a/docs/libcurl/curl_formget.3 +++ b/docs/libcurl/curl_formget.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -44,11 +44,8 @@ callback should return the buffer length passed to it on success. If the \fBCURLFORM_STREAM\fP option is used in the formpost, it will prevent \fIcurl_formget(3)\fP from working until you've performed the actual HTTP request as only then will libcurl get the actual read callback to use! -.SH RETURN VALUE -0 means everything was ok, non-zero means an error occurred .SH EXAMPLE .nf - size_t print_httppost_callback(void *arg, const char *buf, size_t len) { fwrite(buf, len, 1, stdout); @@ -67,5 +64,7 @@ request as only then will libcurl get the actual read callback to use! .SH AVAILABILITY This function was added in libcurl 7.15.5. The form API is deprecated in libcurl 7.56.0. +.SH RETURN VALUE +0 means everything was ok, non-zero means an error occurred .SH "SEE ALSO" .BR curl_formadd "(3), " curl_mime_init "(3)" |