From a2a2032f336e7ce055745568f2e1ff84a32ff464 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Thu, 31 Jul 2025 11:48:57 +0200 Subject: [PATCH] update documentation after review --- docs/libcurl/curl_multi_get_offt.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/libcurl/curl_multi_get_offt.md b/docs/libcurl/curl_multi_get_offt.md index f5ade1f850..cc7873df47 100644 --- a/docs/libcurl/curl_multi_get_offt.md +++ b/docs/libcurl/curl_multi_get_offt.md @@ -29,7 +29,7 @@ CURLMcode curl_multi_get_offt(CURLM *multi_handle, # DESCRIPTION Get the *info* kept in the *multi* handle for `CURLMI_OFFT_*`. -If the multi handle is not valid or the *info* is not applicable, returns 0. +If the *info* is not applicable, this function returns CURLM_UNKNOWN_OPTION. # OPTIONS @@ -42,7 +42,7 @@ count handles removed. It does count internal handles that get added for tasks (like resolving via DoH, for example). For the total number of easy handles ever added to the multi, see -curl_multi_get_offt(3). +*CURLMINFO_XFERS_ADDED*. ## CURLMINFO_XFERS_RUNNING @@ -96,4 +96,7 @@ int main(void) # RETURN VALUE -The extracted value +This function returns a CURLMcode indicating success or error. + +CURLM_OK (0) means everything was OK, non-zero means an error occurred, +see libcurl-errors(3).