Timeout on serial port read

Bruno Pape root at sgzh.uucp
Tue May 8 03:55:15 AEST 1990


In article <59374 at sgi.sgi.com> vjs at sgi.com (Vernon Schryver) writes:
>
>The VTIME parameter is in units of tenths of seconds, not seconds.
>
>The FIONBIO ioctl works on IRIX TTY's, to give "non-block" I/O.
>
>Using select(2) is almost certainly the best solution.
>

Opps, tenths of a seconds it is.

Non-blocking I/O and non-blocking with a delay are slightly different.

Select seems like overkill for simple tty I/O.  Why is it almost
certainly the best solution?  To all non-blocking tty I/O problems?

Just wondering,

Bruno



More information about the Comp.sys.sgi mailing list