12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef _SYS_SENDFILE_H
- #define _SYS_SENDFILE_H 1
- #include <features.h>
- #include <sys/types.h>
- __BEGIN_DECLS
- #ifndef __USE_FILE_OFFSET64
- extern ssize_t sendfile (int __out_fd, int __in_fd, off_t *__offset,
- size_t __count) __THROW;
- #else
- # ifdef __REDIRECT_NTH
- extern ssize_t __REDIRECT_NTH (sendfile,
- (int __out_fd, int __in_fd, __off64_t *__offset,
- size_t __count), sendfile64);
- # else
- # define sendfile sendfile64
- # endif
- #endif
- #ifdef __USE_LARGEFILE64
- extern ssize_t sendfile64 (int __out_fd, int __in_fd, __off64_t *__offset,
- size_t __count) __THROW;
- libc_hidden_proto(sendfile64)
- #endif
- __END_DECLS
- #endif
|