Flushes TTY input and output buffer. Returns E_INVALID
if the
passed tty
type is invalid, or E_SYSTEM
if the system call
failed.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tty_type), | intent(inout) | :: | tty |
TTY type. |
||
logical, | intent(in), | optional | :: | input |
Flush input buffer. |
|
logical, | intent(in), | optional | :: | output |
Flush output buffer. |