On Mon, 19 Nov 2007 18:20:58 +0100 (CET) vincent at cojot.name wrote: > // Make stdin reads non-blocking > - fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NDELAY ); > + fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NDELAY | > O_NONBLOCK ); O_NDELAY and O_NONBLOCK are usually the same thing, though evidently not on Solaris. Try r1215.