aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_mime_subparts.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-09-04 09:20:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-09-04 09:20:24 +0200
commit2e4074c953e96cadc3182454fd437f9a348e37ce (patch)
tree7a4ed2cd14735c44bd62b41f95f864c36ec5e3c0 /docs/libcurl/curl_mime_subparts.3
parentd24c05b9081f7bf38f04f50f10c557eefee40f04 (diff)
docs: curl_mime_*.3 man page formatting edits
Diffstat (limited to 'docs/libcurl/curl_mime_subparts.3')
-rw-r--r--docs/libcurl/curl_mime_subparts.39
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/libcurl/curl_mime_subparts.3 b/docs/libcurl/curl_mime_subparts.3
index 3c607c586..13d34c361 100644
--- a/docs/libcurl/curl_mime_subparts.3
+++ b/docs/libcurl/curl_mime_subparts.3
@@ -29,24 +29,23 @@ curl_mime_subparts - set subparts of a multipart mime part
.BI "curl_mime * " subparts ");"
.ad
.SH DESCRIPTION
-curl_mime_subparts() sets a multipart mime part's content from a mime
+\fIcurl_mime_subparts(3)\fP sets a multipart mime part's content from a mime
structure.
\fIpart\fP is a handle to the multipart part.
+
\fIsubparts\fP is a mime structure handle holding the subparts. After
\fIcurl_mime_subparts\fP succeeds, the mime structure handle belongs to the
-multipart part and must not be freed explicitly. It may however be updated
-by subsequent calls to mime API functions.
+multipart part and must not be freed explicitly. It may however be updated by
+subsequent calls to mime API functions.
Setting a part's contents twice is valid: only the value set by the last call
is retained. It is possible to unassign previous part's contents by setting
\fIsubparts\fP to NULL.
-
.SH AVAILABILITY
As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0.
.SH RETURN VALUE
CURLE_OK or a CURL error code upon failure.
-
.SH "SEE ALSO"
.BR curl_mime_addpart "(3),"
.BR curl_mime_init "(3)"