1 #ifndef _SYS_SENDFILE_H 2 #define _SYS_SENDFILE_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #include <features.h> 9 #include <unistd.h> 10 11 ssize_t sendfile(int, int, off_t *, size_t); 12 13 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) 14 #define sendfile64 sendfile 15 #define off64_t off_t 16 #endif 17 18 #ifdef __cplusplus 19 } 20 #endif 21 22 #endif 23