POSIX Subroutine: Waits until all output written has been transmitted.
Module: USE IFPOSIX
Syntax
CALL PXFTCDRAIN (ifildes, ierror)
ifildes
(Input) INTEGER(4). The file descriptor associated with the terminal.
ierror
(Output) INTEGER(4). The error status.
If successful, ierror is set to zero; otherwise, an error code.