diff options
Diffstat (limited to 'libc/sysdeps/linux/powerpc/pread_write.c')
-rw-r--r-- | libc/sysdeps/linux/powerpc/pread_write.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/pread_write.c b/libc/sysdeps/linux/powerpc/pread_write.c index 83628512a..7f988d301 100644 --- a/libc/sysdeps/linux/powerpc/pread_write.c +++ b/libc/sysdeps/linux/powerpc/pread_write.c @@ -146,6 +146,7 @@ static ssize_t __fake_pread_write64(int fd, void *buf, #endif /* ! defined __NR_pread || ! defined __NR_pwrite */ #ifndef __NR_pread +ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset); ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset) { return(__fake_pread_write(fd, buf, count, offset, 0)); @@ -153,6 +154,7 @@ ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset) weak_alias(__libc_pread,pread) # ifdef __UCLIBC_HAS_LFS__ +ssize_t __libc_pread64(int fd, void *buf, size_t count, off64_t offset); ssize_t __libc_pread64(int fd, void *buf, size_t count, off64_t offset) { return(__fake_pread_write64(fd, buf, count, offset, 0)); @@ -163,6 +165,7 @@ weak_alias(__libc_pread64,pread64) #ifndef __NR_pwrite +ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset); ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset) { return(__fake_pread_write(fd, (void*)buf, count, offset, 1)); @@ -170,6 +173,7 @@ ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset) weak_alias(__libc_pwrite,pwrite) # ifdef __UCLIBC_HAS_LFS__ +ssize_t __libc_pwrite64(int fd, const void *buf, size_t count, off64_t offset); ssize_t __libc_pwrite64(int fd, const void *buf, size_t count, off64_t offset) { return(__fake_pread_write64(fd, (void*)buf, count, offset, 1)); |