Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C and Linux

Author: Dieter Buerssner

Date: 15:20:04 04/08/02

Go up one level in this thread


On April 08, 2002 at 18:16:08, Daniel Clausen wrote:

>On April 08, 2002 at 18:11:43, Dieter Buerssner [wrongly] wrote:
>
>>retval = FD_ISSET(1, &rfds);

>I guess you mean retval = FD_ISSET(0, &rfds);

Yep. Thanks for pointing out my error. I have a variable fno in my code, and got
confused when I changed back to the predefined number (which is 0, for stdin).

BTW. For me under Linux it works well to mix buffered Standard C input functions
working on FILE * with the select call, working on file handles.

Regards,
Dieter




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.