sendfile.h 305 B

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