From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Trenton D. Adams" To: "'Jonathan Larmour'" Cc: "eCos Discussion" Subject: RE: [ECOS] cyg_io_lookup () and handles Date: Wed, 13 Jun 2001 12:21:00 -0000 Message-id: <001401c0f43d$8067e9d0$090110ac@BURN> References: <3B27BA52.4257398E@redhat.com> X-SW-Source: 2001-06/msg00474.html I'm used to windows programming so I naturally thought a handle was an unsigned 32-bit integer. Microsoft reserves certain handles for their own use, and leaves anything above the reserved ones to other programmers. > -----Original Message----- > From: jlarmour@cambridge.redhat.com > [ mailto:jlarmour@cambridge.redhat.com ] On Behalf Of Jonathan Larmour > Sent: Wednesday, June 13, 2001 1:09 PM > To: Trenton D. Adams > Cc: 'eCos' > Subject: Re: [ECOS] cyg_io_lookup () and handles > > > "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/ >