Re: Ctrl+C doesn't interrupt process waiting for I/O

From: Alan Cox
Date: Fri Jul 11 2008 - 11:05:48 EST


O> seems that the following two calls do the same thing in n_tty.c:
>
> n_tty_flush_buffer(tty);
> tty_driver_flush_buffer(tty);

Sorry missed this originally - they don't do the same thing. The first
clears out anything in the ldisc internally the second clears out
anything in the tty driver itself.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/