Open System Services Programmer's Guide
Table 24 Canonical Mode Control Characters and Associated Flags in termios.h (continued)
Index in c_ccAssociated FlagDefault ValueControl Character
VQUITISIG, NOFLSH%X1C ^\QUIT
VSTARTIXON/IXOFF%X11 ^QSTART
VSTOPIXON/IXOFF%X13 ^SSTOP
VSUSPISIG, NOFLSH%X1A ^ZSUSP
Noncanonical mode control characters, their default values, associated flags, and indexes into
the array specified by the c_cc field of the termios structure are shown in Table 25.
Table 25 Noncanonical Mode Control Characters and Associated Flags in termios.h
Index in c_ccAssociated FlagDefault ValueControl Character
VINTRISIG, NOFLSH%X03 ^CINTR
VMINICANON%X00MIN
VQUITISIG, NOFLSH%X1C ^\QUIT
VSTARTIXON%X11 ^QSTART
VSTOPIXON%X13 ^SSTOP
VSUSPISIG, NOFLSH%X1A ^ZSUSP
VTIMEICANON%X00TIME
Because OSSTTY has no control over the interface from which it reads data, the STOP and START
characters in the stream are discarded. OSSTTY supports flow control for applications when directed
to do so programmatically through tcflow() (TCION and TCIOFF flags).
Accessing Terminals From the Guardian Environment
You might need to access a terminal in an OSS program using Guardian procedures. Example 49
(page 213) shows the use of Guardian procedures to read from and write to a Telserv window in
an OSS program. The program uses FILE_OPEN_ to open the Telserv window and then uses
WRITEREADX to write to the Telserv window and read data back. This OSS program uses Guardian
I/O and therefore cannot use OSS job-control features. For example, signals are handled during
OSS file I/O calls, such as EINTR during a read() call, but are deferred during Guardian file
I/O calls, such as a WRITEREADX call.
212 Managing I/O










