This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: why is select() in network.h?
- To: tsmith at megaroms dot co dot uk
- Subject: Re: [ECOS] why is select() in network.h?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 26 Jul 2001 08:06:48 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010725140857.agsplanning+tsmith@f9>
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/