[lkml]   [1998]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Header files and interfaces <> wrote:
> The same arguments generalize to other header files and applications.
> For example, multiple programs need linux/serial.h --- maintaining n
> different copies of the manifest constants for the n programs that
> need to make serial ioctl's simply makes no sense. And again, it
> doesn't seem to make any sense to copy them to the glibc header files
> since they are extremely Linux kernel specific, and the interface is
> defined by the Linux kernel, not by glibc.

Last time I checked, ioctl was defined in libc. Yeah, it's just a
lightweight cover for a kernel call, but that's hardly unusual.

There does need to be a systematic way of getting the defined constants
for ioctl, but that's different from removing ioctl from libc.

[And, in principle, libc *could* map constants from one set of values to


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

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