Re: serial device and fsync

From: Ramagudi Naziir
Date: Mon May 25 2009 - 09:50:35 EST


On Mon, May 25, 2009 at 4:36 PM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> Most hardware UARTs actually can't do this but the kernel will do its
> best. The POSIX interface you want is tcdrain(fd). Quite why POSIX didn't
> use fsync is a very good question.

Thank you so much !

>
--
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/