Visible to Intel only — GUID: GUID-6CDE08DE-0545-48F8-8251-475D7EB93425
Visible to Intel only — GUID: GUID-6CDE08DE-0545-48F8-8251-475D7EB93425
PXFTCFLUSH
POSIX Subroutine: Discards terminal input data, output data, or both. This routine is only available for Linux.
Module
USE IFPOSIX
CALL PXFTCFLUSH (ifildes,iaction,ierror)
ifildes |
(Input) INTEGER(4). The file descriptor associated with the terminal. |
iaction |
(Input) INTEGER(4). The action to perform. |
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code.
The action performed depends on the value of iaction, which must be one of the following constant names:
Constant 1 |
Action |
---|---|
TCIFLUSH |
Discards all data that has been received but not read. |
TCOFLUSH |
Discards all data that has been written but not transmitted. |
TCIOFLUSH |
Discards both data received but not read and data written but not transmitted. (Performs TCIFLUSH and TCOFLUSH actions.) |
1These names can be used in PXFCONST or IPXFCONST. |