lkml.org 
[lkml]   [1999]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Portable binary drivers
Date
From
> So how should the header files for an ioctl interface to a driver be
> handled then? It seems like a waste of energy to have two keep one
> file for userspace use and one for kernel use, especially since the
> two have to be kept in sync.

You either keep two files, or you carefully set up that file so that it
has ifdef __KERNEL__ wrappers and can be used.

The whole point of seperating glibc/kernel includes is that glibc presents
a platform that is not neccessarily what the kernel provides. It isolates
apps from kernel changes.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.110 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site