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]

Re: why is select() in network.h?


tsmith@megaroms.co.uk wrote:
> 
> why is select() only defined in network.h??  i can't find any other declaration for select(). grep'ing the eCos include directory for network.h comes up blank in other include files meaning network.h must be include explicitly which isn't a problem in itself but it means neither sys/types.h or unistd.h contain definitions of select() (and I'm sure one of them should).

You're right - and annoyingly this isn't the first time it's been reported,
but I never got round to acting on it. I've fixed this internally, and it
should become visible externally shortly. The official header to use will
be <sys/select.h>.

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/


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