aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-09-18 16:20:44 +0000
committerUlrich Drepper <drepper@redhat.com>2007-09-18 16:20:44 +0000
commit7c13fa7cec2dede0026a4f37ac77443fdaf4a75f (patch)
tree81012b705504fd7b91fdc773cf39f644548734c0
parent2b03bcf4bbf45416ec48e3783388e4850bb668f5 (diff)
downloadglibc-7c13fa7cec2dede0026a4f37ac77443fdaf4a75f.tar.xz
glibc-7c13fa7cec2dede0026a4f37ac77443fdaf4a75f.zip
Correct return value type __THROW marker of splice, vmsplice, and tee.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/fcntl.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
index b4f49cf633..7c93183ad4 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
@@ -213,17 +213,17 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
/* Splice address range into a pipe. */
-extern int vmsplice (int __fdout, const struct iovec *__iov, size_t __count,
- unsigned int __flags);
+extern ssize_t vmsplice (int __fdout, const struct iovec *__iov,
+ size_t __count, unsigned int __flags);
/* Splice two files together. */
-extern int splice (int __fdin, __off64_t *__offin, int __fdout,
- __off64_t *__offout, size_t __len, unsigned int __flags)
- __THROW;
+extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout,
+ __off64_t *__offout, size_t __len,
+ unsigned int __flags);
/* In-kernel implementation of tee for pipe buffers. */
-extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
- __THROW;
+extern ssize_t tee (int __fdin, int __fdout, size_t __len,
+ unsigned int __flags);
#endif