sendfile.h 305 B

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