This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: cyg_io_lookup () and handles
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] cyg_io_lookup () and handles
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 13 Jun 2001 20:09:06 +0100
- Cc: 'eCos' <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <001101c0f438$edbe9510$090110ac@BURN>
"Trenton D. Adams" wrote:
>
> Ok, this is fine. But does this mean I'm going to have to go looking
> through the sources just to find what handles I can use? After all,
> isn't a handle just an unsigned integer identifier? Or is it just the
> "/dev/ser1" kind of thing?
I assumed you were referring to the latter.
> In which case I could call mine
> "/dev/mySuperWirelessDeviceThingy"! LOL
The chances of a collision given the small number of names is miniscule. An
d in any case, since you are presumably going to test your code before you
put it in an embedded device, you'll know soon enough if it can't even find
the device, nevermind use it!
jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/