(Solved)Re: sio driver and select puzzle.

1999-05-30 Thread Julian Elischer
ah yes, I knew that :-) just testing you (cough) You would't believe the time I wasted on this today. On Mon, 31 May 1999, John Birrell wrote: > Julian Elischer wrote: > > write(filedes, linebuf2, strlen(linebuf2)); > > sel_nfds = 0; > > FD_ZERO(&

sio driver and select puzzle.

1999-05-30 Thread Julian Elischer
The following code is SUPPOSED to return to me when a character is available for reading.. but it doesn't. any one care to point out the obvious bug? main() { int filedes; struct termios newterm; struct termios oldterm; int child; int retval;