diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-23 23:00:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-23 23:00:19 +0000 |
commit | a1d98e054e1d2a3481f897fb40f98972a57c74d9 (patch) | |
tree | 1f779425bb6b5f99a9411ad0d084444c269a5179 /libc/sysdeps/linux/common/sendfile.c | |
parent | 146313a612ab924c58ce92532ac4e8cb7e82018c (diff) |
cleanup and use the style of other *64 funcs
Diffstat (limited to 'libc/sysdeps/linux/common/sendfile.c')
-rw-r--r-- | libc/sysdeps/linux/common/sendfile.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/sendfile.c b/libc/sysdeps/linux/common/sendfile.c index ba3734f09..fe0629ca3 100644 --- a/libc/sysdeps/linux/common/sendfile.c +++ b/libc/sysdeps/linux/common/sendfile.c @@ -10,5 +10,13 @@ #include "syscalls.h" #include <unistd.h> #include <sys/sendfile.h> + _syscall4(ssize_t, sendfile, int, out_fd, int, in_fd, __off_t *, offset, size_t, count); + +#if ! defined __NR_sendfile64 && defined __UCLIBC_HAS_LFS__ +extern __typeof(sendfile) sendfile64; +libc_hidden_proto(sendfile64) +strong_alias(sendfile,sendfile64) +libc_hidden_def(sendfile64) +#endif |