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:
> 
> briefly trying to use the header files supplied with eCos has led me to the conclusion that they are a bit of a mess.
> 
> sys/param.h is literally unincludable as its just been plonked in with no thought.

That comes from the net stack. Anything that comes from the BSD net stack
is a problem actually. This is why the net stack was considered an optional
add-on - there are lots of yucky bits in it.

But why do you want <sys/param.h> anyway? I don't think there's any public
APIs there people should be using (things like NOFILE are a bad idea).

> i've alredy pointed out select() being in network.

Fixed, fear not! It'll show up in anon CVS shortly.
 
> there is also a lack of 'standard' (at least in my eyes) defines such as CLSIZE and getdtablemax() for example.

Well, AFAIK Linux doesn't even have those so I don't know how standard they
are.
 
> not that i'm going on but if anyone has time it would make eCos application developers lives much easier if the header files were tidied up as well as helping further development.
> 
> having a tangle of header files in code is stupid

Agreed.

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]