Unix Programming - Re: Linux serial port programming problems

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > October 2004 > Re: Linux serial port programming problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Linux serial port programming problems
Robert Harris

2004-10-30, 5:49 pm

jjosburn@hotmail.com wrote:
> what is the difference between blocking versus non blocking serial IO.
> jim
>

Blocking: read() waits until there is input. The amount of input
required to satisfy the read depends on different factors, e.g. the
number of bytes requested, whether a LF character has been received in
canonical mode or whether VMIN and VTIME values are satisfied in
non-canonical mode.

Non-blocking: read() returns immediately even if there is no input

Robert
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com