[fpc-devel] Tprocess using pipes, handle = 0
Marco van de Voort
marcov at stack.nl
Tue Mar 17 23:57:34 CET 2015
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.
More information about the fpc-devel
mailing list