aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-25 08:55:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-25 08:55:55 +0000
commit6e1633a6c5f88479998a1e0675818c9d97d9ed90 (patch)
treeb17a003c0a17fa6251595edde38255505c5a24df /docs/libcurl
parenta8ff0a21bf88f1cbfd6fa38683876dc95a96f1f3 (diff)
be specific about what max_fd contains after a call
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/curl_multi_fdset.36
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/libcurl/curl_multi_fdset.3 b/docs/libcurl/curl_multi_fdset.3
index 222c2f2d8..0efc68ab1 100644
--- a/docs/libcurl/curl_multi_fdset.3
+++ b/docs/libcurl/curl_multi_fdset.3
@@ -1,6 +1,6 @@
.\" $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
curl_multi_fdset - extracts file descriptor information from a multi handle
.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
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
rather small (single-digit number of seconds) timeout and call
\fIcurl_multi_perform\fP regularly - even if no activity has been seen on the