Date: Tue, 6 May 1997 18:48:27 +0300 (IDT) From: Eli Zaretskii To: Marcin Citowicki cc: djgpp AT delorie DOT com Subject: Re: select & DJGPP In-Reply-To: <199705061003.MAA00182@icslab2.icslab.agh.edu.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 6 May 1997, Marcin Citowicki wrote: > That if() ... part is never reached : select function returns EBADF error . > Could you tell me why this happens and how to make it work ? Please post the shortest complete program that can be compiled and run, and shows the problem. Several DJGPP packages use `select' and don't have any problems, so the function generally works, at least in some cases. A test program would allow to see whether there is some bug in `select', or something is wrong with the way you call it. Alternatively, you could download the library sources, step into `select' with a debugger and see what fails there.