On Wed, 2013-12-11 at 13:06 +0100, Peter Persson wrote:IIRC the fourth parameter in Fselect isn't used at all. What about
> Fselect() afaik takes a parameter which holds the highest file handle;
> perhaps it could be possible to just see if that parameter > 32, and
> then change the implementation for that case so that it checks more
> than one 32-bit integer.
passing a bitmap here, and use the status of a certain bit to specify if
you're waiting for handles > 31. E.g if bit 0 is set, the second and
third parameters are pointers to arrays of four longwords instead of
single longwords.