Kernel and glibc headers

Bruce Dubbs bruce.dubbs at gmail.com
Tue Jan 11 12:35:19 PST 2011


Sebastian Plotz wrote:

> Is there a difference between using the header files from the kernel
> (for example /usr/include/linux/inotify.h) or the header files from
> glibc (/usr/include/sys/inotify.h)?

Yes.  The kernel headers include definitions for the kernel only.  Don't 
use the kernel headers for applications or utilities.

   -- Bruce



More information about the lfs-dev mailing list