tcflush#

Discard buffered input, output, or both on terminal $fd.

תקציר#

use POSIX qw(tcflush TCIFLUSH TCOFLUSH TCIOFLUSH);
tcflush($fd, TCIOFLUSH);   # drop pending input and output

מה מוחזר#

"0 but true" on success, undef on failure. Negative $queue_selector sets $! to EINVAL.

הבדלים מן ה-upstream#

Fully compatible with upstream POSIX.