devc-ser8250, devc-par - input/output buffers cleaning.

Hello,
how to clean input/output buffers of the serial and parallel driver from
the application level? Does devctl() can do that? What would be a correct
set of parameters?

Thanks,
Janusz.

Janusz Ruszel <janusz_ruszel@baxter.com> wrote:

how to clean input/output buffers of the serial and parallel driver from
the application level? Does devctl() can do that? What would be a correct
set of parameters?

Look at “tcflush()” …