Subject: Re: Linux's pread(), pwrite(), getcwd() present ?
To: Frank van der Linden <>
From: Jaromir Dolecek <>
List: tech-kern
Date: 03/17/1999 20:25:36
Frank van der Linden wrote:
> They're definitely there, just look in the Linux kernel source. If you
> don't see them mentioned, that's a lack in (manpage) documentation
> in those distributions. Which doesn't surprise me much, but that's
> another subject..

Strange is that these in no such symbol p*{read|write} in theirs
libc.a, nor any prototype in any header file under /usr/include.
Seems to me like it's not there .... I don't have the kernel source
handy, I'll dig it out and check it too.
Well, the RH 5.1 is 2.0.X based, maybe the pread(2),pwrite(2) & getcwd(2)
are new in 2.[12].X ?

> You're right though, pread and pwrite can be directly linked to their NetBSD
> kernel parts.

I'll try to dig out if they are using the 64 bit off_t and will send-pr
the change eventually.

Jaromir Dolecek <>
"The only way how to get rid temptation is to yield to it." -- Oscar Wilde