public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] why is select() in network.h?
@ 2001-07-25  6:08 tsmith
  2001-07-26  0:06 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: tsmith @ 2001-07-25  6:08 UTC (permalink / raw)
  To: ecos-discuss

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).

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] why is select() in network.h?
  2001-07-25  6:08 [ECOS] why is select() in network.h? tsmith
@ 2001-07-26  0:06 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-07-26  0:06 UTC (permalink / raw)
  To: tsmith; +Cc: ecos-discuss

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-26  0:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-25  6:08 [ECOS] why is select() in network.h? tsmith
2001-07-26  0:06 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).