FD_SETSIZE and select

Alexander Gottwald Alexander.Gottwald@s1999.tu-chemnitz.de
Tue Feb 3 21:07:00 GMT 2004


The Cygwin/X source uses the assumption that FD_SETSIZE == 256 in many places.
I'm currently adding a -DFD_SETSIZE=256 to the build commandline but I'm
not sure if this has any sideeffects.

Is select() capable of handling other sizes than 64 which is set in sys/types.h?

BTW: please keep the cc to cygwin-xfree since I'm only monitoring that list and
I'd like the others there be informed too.
 http://www.gotti.org           ICQ: 126018723

More information about the Cygwin-xfree mailing list