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 /include/unistd.h | |
parent | f6a191a6ee0313d61dffa70d86b033c5a598f907 (diff) | |
download | glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar.gz glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar.xz 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 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 01556d3c7b..0cdf06e513 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -56,6 +56,7 @@ libc_hidden_proto (__libc_read) libc_hidden_proto (read) extern ssize_t __libc_write (int __fd, const void *__buf, size_t __n); libc_hidden_proto (__libc_write) +libc_hidden_proto (write) extern int __pipe (int __pipedes[2]); libc_hidden_proto (__pipe) extern int __pipe2 (int __pipedes[2], int __flags); |