diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-11-03 10:04:25 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-05-11 17:27:30 -0300 |
commit | dfaaee33ba68372e374c14ec05fc8a76bdccdceb (patch) | |
tree | b4883a9ffc14d325b91854b46dd5fa5d16b60857 /io | |
parent | f6a191a6ee0313d61dffa70d86b033c5a598f907 (diff) | |
download | glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar.gz glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar.bz2 glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.zip |
Consolidate Linux write syscall
This patch consolidates the write Linux syscall implementation on
sysdeps/unix/sysv/linux/write.c.
Checked on i686-linux-gnu, x86_64-linux-gnu, x86_64-linux-gnux32,
arch64-linux-gnu, arm-linux-gnueabihf, and powerpc64le-linux-gnu.
* include/unistd.h (write): Add hidden proto.
* io/Makefile (CFLAGS-write.c): New rule.
* nptl/Makefile (CFLAGS-write.c): Likewise.
* sysdeps/unix/sysv/linux/write.c: New file.
Diffstat (limited to 'io')
-rw-r--r-- | io/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io/Makefile b/io/Makefile index db14c0dd82..16365e581a 100644 --- a/io/Makefile +++ b/io/Makefile @@ -101,6 +101,7 @@ CFLAGS-fallocate.c = -fexceptions CFLAGS-fallocate64.c = -fexceptions CFLAGS-sync_file_range.c = -fexceptions CFLAGS-read.c = -fexceptions +CFLAGS-write.c = -fexceptions CFLAGS-test-stat.c = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE CFLAGS-test-lfs.c = -D_LARGEFILE64_SOURCE |