[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Samba working



2013/12/11 Peter Persson <pep.fishmoose@gmail.com>
IIRC the fourth parameter in Fselect isn't used at all. What about
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.

Ah, true. I expected it to work like Select(). I noticed that the Fselect() return type can't cater for more than 32 handles anyway. Nothing prevents a 2nd binding a'la VsetScreen() vs Setscreen() though, to allow us to get the proper bitmask response for a new version of the call.

Hmm... correction; actually negative values are interpreted as errors, which means the call only support 31 handles. Or maybe I misinterpreted toshyp.