delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/06/12:01:33

Date: Tue, 6 May 1997 18:48:27 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Marcin Citowicki <miki AT icslab2 DOT icslab DOT agh DOT edu DOT pl>
cc: djgpp AT delorie DOT com
Subject: Re: select & DJGPP
In-Reply-To: <199705061003.MAA00182@icslab2.icslab.agh.edu.pl>
Message-ID: <Pine.SUN.3.91.970506184105.15061C-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019