summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_fifo.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-09-18 18:54:48 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-09-18 18:54:48 +0000
commit41946df6111b6daf93518b22ca49c54544c77599 (patch)
treee8a7cbbdc46dab7e8c46f938e8ccc4acd0f8d131 /winsup/cygwin/fhandler_fifo.cc
parentb1e00863f3c6c84b0ae3a67db9d3b20f536ffb72 (diff)
downloadcygnal-41946df6111b6daf93518b22ca49c54544c77599.tar.gz
cygnal-41946df6111b6daf93518b22ca49c54544c77599.tar.bz2
cygnal-41946df6111b6daf93518b22ca49c54544c77599.zip
* fhandler_tty.cc (fhandler_pty_master::process_slave_output):
Handle buf == NULL as flushing the buffer. (fhandler_tty_slave::read): Handle ptr == NULL as flushing the buffer. (fhandler_tty_slave::tcflush): Implement input queue flushing by calling read with NULL buffer. (fhandler_pty_master::tcflush): Ditto, calling process_slave_output. * termios.cc (tcflush): Check for legal `queue' value. Return EINVAL otherwise.
Diffstat (limited to 'winsup/cygwin/fhandler_fifo.cc')
0 files changed, 0 insertions, 0 deletions