Open System Services Programmer's Guide

Table 26 OSS I/O Functions (continued)
Guardian NotesOSS NotesOSS Function
Retrieves file implementation
characteristics.
Can return extended errors.isatty()
Tests for a terminal.
Can return extended errors.pathconf()
Retrieves file implementation
characteristics.
Can return extended errors.tcdrain()
Waits for output to complete.
Can return extended errors.tcflow()
Performs flow control functions.
Can return extended errors.tcflush()
Flushes nontransmitted output data and
nonread input data.
Can return extended errors.tcgetattr()
Gets the attributes associated with a
terminal.
Can return extended errors.tcsendbreak()
Sends a “break” to an asynchronous
serial data line.
Can return extended errors.tcsetattr()
Sets the attributes associated with a
terminal.
Can return extended errors.ttyname()
Gets the name of a terminal.
Guardian I/O Management Procedures
Table 27 displays information about each Guardian procedure that you can use to manage I/O.
Procedures that have been superseded by other procedures are not shown. Spooler procedures
are not shown; for information about these, see the Spooler Programmer’s Guide. The columns of
the table contain the following:
Guardian Procedure
The name of the procedure and a brief description.
OSS Notes
Additional considerations or restrictions when the Guardian procedure is used on OSS
processes.
For details about a procedure, refer to the Guardian Procedure Calls Reference Manual.
Table 27 Guardian I/O Procedures
OSS NotesGuardian Procedure
CHECKSETMODE
Allows the primary process of a process pair to propagate
SETMODE operations to the backup process of the pair.
CONTROL
Performs device-dependent I/O operations.
234 Managing I/O