mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
be specific about what max_fd contains after a call
This commit is contained in:
parent
a8ff0a21bf
commit
6e1633a6c5
@ -1,6 +1,6 @@
|
|||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.TH curl_multi_fdset 3 "18 Apr 2005" "libcurl 7.9.5" "libcurl Manual"
|
.TH curl_multi_fdset 3 "25 Apr 2005" "libcurl 7.9.5" "libcurl Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_multi_fdset - extracts file descriptor information from a multi handle
|
curl_multi_fdset - extracts file descriptor information from a multi handle
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -21,6 +21,10 @@ but be sure to FD_ZERO them before calling this function as
|
|||||||
otherwise remove any other. The \fIcurl_multi_perform(3)\fP function should be
|
otherwise remove any other. The \fIcurl_multi_perform(3)\fP function should be
|
||||||
called as soon as one of them are ready to be read from or written to.
|
called as soon as one of them are ready to be read from or written to.
|
||||||
|
|
||||||
|
If no file descriptors are set by libcurl, \fImax_fd\fP will contain -1 when
|
||||||
|
this function returns. Otherwise it will contain the higher descriptor number
|
||||||
|
libcurl set.
|
||||||
|
|
||||||
You should also be aware that when doing select(), you should consider using a
|
You should also be aware that when doing select(), you should consider using a
|
||||||
rather small (single-digit number of seconds) timeout and call
|
rather small (single-digit number of seconds) timeout and call
|
||||||
\fIcurl_multi_perform\fP regularly - even if no activity has been seen on the
|
\fIcurl_multi_perform\fP regularly - even if no activity has been seen on the
|
||||||
|
Loading…
Reference in New Issue
Block a user