Table of Contents

NAME

SYNOPSIS

DESCRIPTION

The function waits until all output written to the terminal referenced by has been transmitted to the terminal. The function suspends transmission of data to or the reception of data from the terminal referenced by depending on the value of The value of must be one of the following: Suspend output. Restart suspended output. Transmit a STOP character, which is intended to cause the terminal to stop transmitting data to the system. (See the description of IXOFF in the section of Transmit a START character, which is intended to cause the terminal to start transmitting data to the system. (See the description of IXOFF in the section of The function discards any data written to the terminal referenced by which has not been transmitted to the terminal, or any data received from the terminal but not yet read, depending on the value of The value of must be one of the following: Flush data received but not read. Flush data written but not transmitted. Flush both data received but not read and data written but not transmitted. The function transmits a continuous stream of zero-valued bits for four-tenths of a second to the terminal referenced by The parameter is ignored in this implementation.

RETURN VALUES

Upon successful completion, all of these functions return a value of zero.

ERRORS

If any error occurs, a value of -1 is returned and the global variable is set to indicate the error, as follows: The argument is not a valid file descriptor. The argument is not a proper value. The file associated with is not a terminal. A signal interrupted the function.

SEE ALSO

STANDARDS

The and functions are expected to be compliant with the specification.


Table of Contents