mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Add nocancel version of pread64()
This is in preparation for changes in the dynamic linker so that pread() is used instead of lseek()+read(). Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
committed by
Carlos O'Donell
parent
2ac579f9c2
commit
fed33b0fb0
@ -43,6 +43,9 @@ __typeof (openat64) __openat64_nocancel;
|
||||
/* Non cancellable read syscall. */
|
||||
__typeof (__read) __read_nocancel;
|
||||
|
||||
/* Non cancellable pread syscall (LFS version). */
|
||||
__typeof (__pread64) __pread64_nocancel;
|
||||
|
||||
/* Uncancelable write. */
|
||||
__typeof (__write) __write_nocancel;
|
||||
|
||||
@ -84,6 +87,7 @@ hidden_proto (__open64_nocancel)
|
||||
hidden_proto (__openat_nocancel)
|
||||
hidden_proto (__openat64_nocancel)
|
||||
hidden_proto (__read_nocancel)
|
||||
hidden_proto (__pread64_nocancel)
|
||||
hidden_proto (__write_nocancel)
|
||||
hidden_proto (__close_nocancel)
|
||||
hidden_proto (__waitpid_nocancel)
|
||||
|
Reference in New Issue
Block a user