<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 17/03/2015 22:57, Marco van de Voort
wrote:<br>
</div>
<blockquote cite="mid:20150317225734.1FB9F730C9@toad.stack.nl"
type="cite">
<pre wrap="">In our previous episode, Martin Frb said:
</pre>
<blockquote type="cite">
<pre wrap="">
Are there any values that are known to be ont a handle?
On windows codetools find InvalidHandleValue = -1
But on Linux I found nothing like this.
Given that fpselect is documented to have a bit-array of 256 bits, I
would guess only 0 to 255 are valid? Though of course that may change...
</pre>
</blockquote>
<pre wrap="">
Where? If I look up in the help I only find
<a class="moz-txt-link-freetext" href="http://www.freepascal.org/docs-html/rtl/baseunix/tfdset.html">http://www.freepascal.org/docs-html/rtl/baseunix/tfdset.html</a>
1024 seems to be a standard value for maxfd.
</pre>
</blockquote>
<br>
I googled fpselect, and got here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.freepascal.org/docs-html/rtl/baseunix/fpselect.html">http://www.freepascal.org/docs-html/rtl/baseunix/fpselect.html</a><br>
<br>
2nd paragraph in description<br>
<br>
<blockquote type="cite"><var>readfds, writefds</var> and <var>exceptfds</var>
are pointers to arrays of 256 bits.</blockquote>
<br>
</body>
</html>