[LCP]Question on Select ..

rahul pande panderahul at hotmail.com
Thu Oct 4 12:42:51 UTC 2001


Hi,

    In LINUX, when select is in blocking mode and if we close one of the FDs 
he is blocking on from another thread then select does not come out with the 
errorno EBADF.Why ????

    When select is non blocking and if we close one of the fds and do not do 
a FD_CLR for that fd, then when select is done again, it comes out with the 
error EBADF but is there any way to find the bad file descriptor.


Thanks and Regards,
      rahul




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




More information about the linuxCprogramming mailing list