Thread (5 messages) flat view 5 messages, 3 authors, 2012-05-30

RE: pread() and pwrite() system calls

From: David Laight <hidden>
Date: 2012-05-30 10:57:20

quoted
We have a system with linux 2.6.32 and the somewhat archaic
uClibc 0.9.27 (but I'm not sure the current version is
any better, and I think there are binary compatibility
if we update).
=20
I've just discovered that pread() is 'implemented'
by using 3 lseek() system calls and read().
(the same is true for the 64bit versions).
...
I think that it is an uClibc problem.
It seems that uClibc hadn't been changed when the
names of the constants used for the system calls
were changed from __NR_pread to __NR_pread64.

	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help