This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
short reads on serial port..
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] short reads on serial port..
- From: "Dave Airlie" <airlied at parthus dot com>
- Date: 26 Oct 2000 18:05:32 +0100
Does eCos support short reads? .. I want to read from the serial port for
a max len of 127 bytes, but if there is nothing there I want to
block until something appears .... I suppose I want to use select. .. but
I don't want to use select :-).....
Should I use select, what does it drag in the way of extra stuff to my
build ... I don't want to have to add POSIX stuff really...
Is there another way?
Thanks,
Dave.
--
David Airlie, Software Engineer, Parthus Technologies plc.,
Mary Rosse Centre, National Tech Park, Limerick, Ireland.
t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com