Mail Archives: djgpp/1997/11/15/04:45:20
Michael Mauch <michael DOT mauch AT gmx DOT de> wrote:
> On Thu, 13 Nov 1997 12:15:17 +0200 (IST), Eli Zaretskii wrote:
> > Huh? It does work for me. Can you give an example where it doesn't?
> > I used the test program created when you compile `select.c' in the
> > libc sources with -DTEST.
[snip]
> Strange enough that I have to check if stdout is ready for input, but it
> becomes worse if you redirect stdout as well:
> in that case, stdout never becomes ready for input and select() waits
> for 15 seconds before printing
> 1: NOT ready for input
> 1: ready for output
I'm interested in knowing why you expect stdout (a write-only stream) to
be flagged by select() as ready for input.
--
[- firewind -]
[- email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work) -]
[- "You're just jealous because the voices talk to -me-." -]
[- Have a good day, and enjoy your C. -]
[- (on a crusade of grumpiness where grumpiness is due) -]
- Raw text -