Non-blocking IO

Billy Taylor wrt at etive.ed.ac.uk
Fri Mar 31 13:16:57 AEST 1989


How can I do a 'read' that works ok except when there's actually nothing
to be read, in which case it returns a -1.

The only success I've had so far end up in any shells I was running getting
sent a sig 20.

I can get it to work under dbx but not in normal usage.

Ta.

Billy Taylor,                           JANET: wrt at uk.ac.ed.etive
Edinburgh University Computing Science  ARPA:  wrt%ed.etive at nss.cs.ucl.ac.uk
                                        UUCP:  ...!uunet!mcvax!ukc!etive!wrt



More information about the Comp.unix mailing list