summaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_mime_subparts.3
diff options
context:
space:
mode:
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)"