1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Linux: Clean up pread64/pwrite64 system call names

Linux removed the last definitions of __NR_pread and __NR_pwrite
in commit 4ba66a9760722ccbb691b8f7116cad2f791cca7b, the removal
of the blackfin port.  All architectures now define __NR_pread64 and
__NR_pwrite64 only.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer
2020-02-09 16:07:00 +01:00
parent 1a5f1153a7
commit 71691aae92
7 changed files with 4 additions and 40 deletions

View File

@ -19,10 +19,6 @@
#include <unistd.h>
#include <sysdep-cancel.h>
#ifndef __NR_pwrite64
# define __NR_pwrite64 __NR_pwrite
#endif
ssize_t
__libc_pwrite64 (int fd, const void *buf, size_t count, off64_t offset)
{