This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: io_read


On Fri, Oct 08, 2004 at 05:08:43PM +0200, Sicheri Marco wrote:
> Hi All,
> 
> the cyg_io_read function don't return until it don't 'read' a data.
> How can I return after timeout? Or, How can I know if a data is in my io?

You can use cyg_io_select() to see if there is anything availabe on
the handle. 

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]