Changes between Version 17 and Version 18 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/CFile


Ignore:
Timestamp:
08/23/10 10:44:29 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/CFile

    v17 v18  
    361361
    362362=== SetNonBlocking ===
    363 
     363Set the file to not wait for data to arrive when reading.
    364364{{{
    365365void SetNonBlocking(void);
    366366}}}
    367367
     368==== Parameters ====
     369
     370Function does not accept any parameters
     371
     372==== Return Value ====
     373
     374Function does not return a value
     375
     376==== Remarks ====
     377
     378==== Example ====
     379
     380{{{
     381CFile fileComm("/dev/ttyS0", "r");
     382if(fileComm.IsOpen())
     383{
     384   fileComm.SetNonBlocking();
     385   // Reads will now return whatever data is available without hanging waiting on more data.
     386}
     387}}}
    368388
    369389=== Read ===