diff options
author | Leandro Pereira <leandro.pereira@microsoft.com> | 2019-10-02 12:42:28 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2019-10-18 15:55:33 -0400 |
commit | fed33b0fb03d1942a6713286176d42869c0f1580 (patch) | |
tree | f6e7f1055d4dbd00986746e2027b104b95e07c86 /sysdeps/generic | |
parent | 2ac579f9c25388a7734948d77b03e4dd10f35334 (diff) | |
download | glibc-fed33b0fb03d1942a6713286176d42869c0f1580.tar glibc-fed33b0fb03d1942a6713286176d42869c0f1580.tar.gz glibc-fed33b0fb03d1942a6713286176d42869c0f1580.tar.bz2 glibc-fed33b0fb03d1942a6713286176d42869c0f1580.zip |
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>
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/not-cancel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/not-cancel.h b/sysdeps/generic/not-cancel.h index 968f81279f..5df48f3da7 100644 --- a/sysdeps/generic/not-cancel.h +++ b/sysdeps/generic/not-cancel.h @@ -41,6 +41,8 @@ (void) __close (fd) #define __read_nocancel(fd, buf, n) \ __read (fd, buf, n) +#define __pread64_nocancel(fd, buf, count, offset) \ + __pread64 (fd, buf, count, offset) #define __write_nocancel(fd, buf, n) \ __write (fd, buf, n) #define __writev_nocancel_nostatus(fd, iov, n) \ |