diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-10-25 08:54:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-10-25 12:57:01 +0200 |
commit | 24155569d8a23bcd537d2242318340168e3be249 (patch) | |
tree | c2b4a9e992ebc41cf12e4aa2d2eaead73246d901 /docs/libcurl/curl_url_set.3 | |
parent | c2e804ca47cc82f5a6fadd6a64841b5977be499a (diff) | |
download | curl-24155569d8a23bcd537d2242318340168e3be249.tar.gz |
man pages: require all to use the same section header order
This is the same order we already enforce among the options' man pages:
consistency is good. Add lots of previously missing examples.
Adjust the manpage-syntax script for this purpose, used in test 1173.
Closes #7904
Diffstat (limited to 'docs/libcurl/curl_url_set.3')
-rw-r--r-- | docs/libcurl/curl_url_set.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/libcurl/curl_url_set.3 b/docs/libcurl/curl_url_set.3 index 02f74ce02..4ad3170f2 100644 --- a/docs/libcurl/curl_url_set.3 +++ b/docs/libcurl/curl_url_set.3 @@ -134,16 +134,6 @@ When space is used and allowed in a URL, it will be stored as-is unless space before stored. This affects how the URL will be constructed when \fIcurl_url_get(3)\fP is subsequently used to extract the full URL or individual parts. -.SH RETURN VALUE -Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went -fine. See the \fIlibcurl-errors(3)\fP man page for the full list with -descriptions. - -A URL string passed on to \fIcurl_url_set(3)\fP for the \fBCURLUPART_URL\fP -part, must be shorter than 8000000 bytes otherwise it returns -\fBCURLUE_MALFORMED_INPUT\fP (added in 7.65.0). - -If this function returns an error, no URL part is set. .SH EXAMPLE .nf CURLUcode rc; @@ -158,6 +148,16 @@ If this function returns an error, no URL part is set. .fi .SH AVAILABILITY Added in curl 7.62.0. CURLUPART_ZONEID was added in 7.65.0. +.SH RETURN VALUE +Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went +fine. See the \fIlibcurl-errors(3)\fP man page for the full list with +descriptions. + +A URL string passed on to \fIcurl_url_set(3)\fP for the \fBCURLUPART_URL\fP +part, must be shorter than 8000000 bytes otherwise it returns +\fBCURLUE_MALFORMED_INPUT\fP (added in 7.65.0). + +If this function returns an error, no URL part is set. .SH "SEE ALSO" .BR curl_url_cleanup "(3), " curl_url "(3), " curl_url_get "(3), " .BR curl_url_dup "(3), " curl_url_strerror "(3), " CURLOPT_CURLU "(3)" |