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: comment about header files


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


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