[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Improper headers



On Sun, Feb 27, 2000 at 10:16:23AM -0500, Shourya Sarcar wrote:
> >/usr/include/linux is Linux private headers. A user level program
> >should never include them - unless the program is a Linux specific
> >system level program - top, ps, vmstat etc. /usr/include and /usr/include/sys
> >are the exported interfaces.
> 
> Therein lies the poblem. I _am_ trying to write a system level program.

I should be more specific. If your program is specific to a given
version of the Linux kernel - you may use /usr/include/linux. If your
program should continue working across different Linux kernel versions,
you can't use them.

	-Arun