mirror of
https://github.com/curl/curl.git
synced 2026-07-25 02:47:17 +03:00
curl_multi_init.3: fix EXAMPLE formatting
This commit is contained in:
parent
5f4be1459e
commit
53a3e90e06
1 changed files with 7 additions and 7 deletions
|
|
@ -34,14 +34,14 @@ multi-functions, sometimes referred to as a multi handle in some places in the
|
|||
documentation. This init call MUST have a corresponding call to
|
||||
\fIcurl_multi_cleanup(3)\fP when the operation is complete.
|
||||
.SH EXAMPLE
|
||||
.fi
|
||||
/* init a multi stack */
|
||||
multi_handle = curl_multi_init();
|
||||
|
||||
/* add individual transfers */
|
||||
curl_multi_add_handle(multi_handle, http_handle);
|
||||
curl_multi_add_handle(multi_handle, http_handle2);
|
||||
.nf
|
||||
/* init a multi stack */
|
||||
multi_handle = curl_multi_init();
|
||||
|
||||
/* add individual transfers */
|
||||
curl_multi_add_handle(multi_handle, http_handle);
|
||||
curl_multi_add_handle(multi_handle, http_handle2);
|
||||
.fi
|
||||
.SH AVAILABILITY
|
||||
Added in 7.9.6
|
||||
.SH RETURN VALUE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue