Differences between current version and previous revision of pread(2).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Tuesday, May 6, 2003 6:28:27 am | by RajinikanthSambasivan | |
Older page: | version 3 | Last edited on Sunday, March 16, 2003 6:40:08 pm | by PerryLorier | Revert |
@@ -31,4 +31,7 @@
emulation on older kernels without the system calls) was added in glibc 2.1.
!!SEE ALSO
read(2), write(2), lseek(2)
+
+__Why __Pread?
+The use of the pread()/pwrite() functions is by faster by almost a factor of two than the use of a lseek()/read() or lseek()/write() combination, since only one system call has to be performed, thus saving unecessary user/kernel mode transitions