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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

termios(7P) tennios (7P)<br />

13<br />

Special control characters are defined by the c cc array in the<br />

termios structure. The subscript names <strong>and</strong> descriptions are as<br />

follows:<br />

VEOF EOF character<br />

VEOL EOL character<br />

VERASE ERASE character<br />

VINTR INTR character<br />

VKILL KILL character<br />

VQUI T QUIT character<br />

VSUSP SUSP character<br />

VMIN MIN character<br />

VT IME TIME character<br />

If a modem disconnect is detected by the terminal interface for a<br />

controlling terminal <strong>and</strong> if CLOCAL is not set in the c cflag<br />

field for the terminal, a S I GHUP signal is sent to the controlling<br />

process associated with the terminal. Unless other arrangements<br />

were made (see signal(3», this causes the controlling process<br />

to terminate.. Any subsequent read from the terminal device returns<br />

an end-of-line indication until the device is closed. Thus,<br />

processes that read a terminal file <strong>and</strong> test for end-of-file can terminate<br />

appropriately after a disconnect Any subsequent<br />

write(2) to the terminal device returns -1, with errno set<br />

toE I 0, until the device is closed.<br />

The last process to close a terminal device file shall cause any output<br />

to be sent to the device <strong>and</strong> any input to be discarded. If<br />

HUPCL is set in the control structure <strong>and</strong> the communications port<br />

supports a disconnect function, the terminal device performs a<br />

disconnect.<br />

The following functions are provided for controlling the terminal<br />

interface:<br />

cfgetispeed(3P) Return the input baud rate.<br />

cfgetospeed(3P) Return the output baud rate.<br />

cfsetispeed(3P) Set the input baud rate.<br />

cfsetospeed(3P) Set the output baud rate.<br />

tcdrain(3P) Wait until all written data is transmitted.<br />

tcflow(3P) Suspend or restart output or input.<br />

tcfl ush(3P) Discard data not transmitted.<br />

February, 1990<br />

RevisionC

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

Saved successfully!

Ooh no, something went wrong!