On 17/03/2015 22:57, Marco van de Voort wrote:
In our previous episode, Martin Frb said:
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...
Where? If I look up in the help I only find
http://www.freepascal.org/docs-html/rtl/baseunix/tfdset.html
1024 seems to be a standard value for maxfd.
I googled fpselect, and got here:
http://www.freepascal.org/docs-html/rtl/baseunix/fpselect.html
2nd paragraph in description
readfds, writefds and exceptfds are pointers to arrays of 256 bits.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel