lkml.org 
[lkml]   [1998]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: OFFTOPIC: e2fsprogs and +2Gb partitions
   From: alan@lxorguk.ukuu.org.uk (Alan Cox)
Date: Sat, 13 Jun 1998 21:23:39 +0100 (BST)

Only if the exposed interface uses the kernel object. If glibc presents
all the socket API's with POSIX compliant calls and does things like correct
for the BSD and Linux noncompliance with the draft API in places etc then
Ulrich is right.

Absolutely; if the interface is provided by libc, then the kernel header
files should have nothing to do with it.

However, if the interface is provided by the kernel, and not libc ---
such as ioctl's, filesystem constants, etc., then the right place to
define these numbers is in the Linux header files, and including
<linux/*.h> for those constants *is* the right thing, regardless of what
Linus might have said. Replicating such constants in user programs is
madness.

(I suspect Linus was thinking only of the first case, and not the second.)

- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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