[NTLUG:Discuss] serial communications

tr_data1 tr_data1 at ev1.net
Tue Nov 9 08:06:08 CST 2004


james osburn wrote:
> [wants non-blocking serial port reading in 'C']
>
> what about using the function select? 

Using select() is my prefered approach. There is a little setup to do but
it isn't that hard. Review the man pages on select(), section 2. The
man page that my distro has, happens to have an example too.
=TR=




More information about the Discuss mailing list