02.07.2013 Views

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

streams(7) streams(7)<br />

/etc/line_sane(IM) is a utility that can be run from shell<br />

scripts (such as those started from /etc/inittab(4». It takes<br />

one parameter, an integer representing an open file descriptor on<br />

which the line discipline is to be pushed. It behaves similarily to<br />

line yush(3) above.<br />

Further Functionality<br />

The following extensions are provided to the streams system.<br />

They are not necessarily provided with other streams implementations<br />

<strong>and</strong> should not be used if portability is important.<br />

select(2) allows a process to wait for input from<br />

more than one open device, socket or<br />

stream<br />

FIONBIO<br />

FIONASYNC<br />

FIONREAD<br />

allows a process to make non blocking<br />

reads to a stream (see termio(7)<br />

sends a SIGIO signal to a process when<br />

input is available from the queue (see<br />

termio(7»<br />

returns the number of characters available<br />

to be read from the stream head<br />

(this is different from I NREAD<br />

above) (see termio(7»<br />

SEE ALSO<br />

line sane(<strong>1M</strong>), close(2), ioctl(2), open(2), read(2),<br />

select(2), wri te(2), line yush(3).<br />

Building AIUX Device Drivers.<br />

7<br />

February, 1990<br />

RevisionC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!