lkml.org 
[lkml]   [2002]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectserial port buffer commit
Hi all,

I am writing a kernel thread for serial port communication. If the
serial character device file is opened by a filp_open() or manipulating
using a struct file in the kernel, how can I know whether the previous
written buffer has commit or not? Similarly, how do I know is there any
data ready for read for non blocking access? Thanks.

regards,
David Chow


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.024 / U:1.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site