tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: adding getdelim(3) and getline(3) to libc



On Mon, Jul 13, 2009 at 10:26:02PM +0700, Robert Elz wrote:
> That's both silly and ineffective, the kernel version (5.99.16) and the
> libc version are not directly related - that someone is running a 5.99.16
> kernel certainly does not mean they're running a libc of similar vintage.
> (The libc can't be newer than the kernel, but it can certainly be lots older.)

It is somewhat reasonable to assume that libc and /usr/include match.
As the kernel version is part of /usr/include/sys/param.h, it can be
used for conditionals.

Joerg


Home | Main Index | Thread Index | Old Index