This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: comment about header files
- To: tsmith at megaroms dot co dot uk
- Subject: Re: [ECOS] comment about header files
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 27 Jul 2001 14:17:17 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010727090146.agsplanning+tsmith@f9>
tsmith@megaroms.co.uk wrote:
>
> just a couple of points:
>
> agreed the BSD net stuff is an 'extra'
>
> quoting from my linux man page for getdtablesize
>
> "getdtablesize is implemented as a library function in DLL 4.4.1. This function returns OPEN_MAX (set to 256 in Linux 2.0.23) if OPEN_MAX was defined when the library was compiled."
>
> and does seem to be implemented by linux, but again I agree about non-standardness (is that a word?)
The more standard function is to use sysconf with _SC_OPEN_MAX. We
certainly don't provide it, and don't expect to since there is a standard
alternative.
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