On 19 Aug 2002 18:02:54 +0100
Philip Blundell <pb@nexus.co.uk> wrote:
> On Mon, 2002-08-19 at 17:35, Nils Faerber wrote:
> > You need the kernel headers anyway!
> It's true that they need to exist, but you shouldn't take this as a
> licence to actually use them. :-}
Yep ;)
You should not include kernel headers directly except for when you do
Linux specific development, for example soundcard. But the general case
is not to use them directly rather than indirectly through LIBC which
includes a whole bunch from asm/ for example.
> Mixing headers from the kernel and glibc is rather poor form. If you
> do this, there is a strong chance that an upgrade to either the kernel
> or libc will break your program.
Yup!
> p.
CU
nils faerber
-- kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen D1 : +49-170-2729106 --Received on Mon Aug 19 17:37:51 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:29 EDT