# PXFTCFLOW (L*X, M*X)

POSIX Subroutine: Suspends the transmission or reception of data.

## Module

USE IFPOSIX

CALL PXFTCFLOW (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 PXFTCFLOW subroutine suspends or resumes transmission or reception of data from the terminal referred to by ifildes. The action performed depends on the value of iaction, which must be one of the following constant names:

Constant 1 | Action
--- | ---
TCOOFF | Output is suspended.
TCOON | Output is resumed.
TCIOFF | A STOP character is transmitted. This should cause the terminal to stop transmitting data to the system.
TCION | A START character is transmitted. This should cause the terminal to resume transmitting data to the system.
1These names can be used in PXFCONST or IPXFCONST.

Parent topic: POSIX* Library Routines

## See Also

IPXFCONST
PXFCONST