/usr/include/diet/sys/sendfile.h is in dietlibc-dev 0.33~cvs20120325-6+deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #ifndef _SYS_SENDFILE_H
#define _SYS_SENDFILE_H
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>
__BEGIN_DECLS
extern ssize_t sendfile (int out_fd, int in_fd, off_t* offset,
size_t count) __THROW;
#ifndef __NO_STAT64
extern ssize_t sendfile64 (int out_fd, int in_fd, loff_t* offset,
size_t count) __THROW;
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
#define sendfile(outfd,infd,offset,count) sendfile64(outfd,infd,offset,count)
#endif
#endif
__END_DECLS
#endif /* sys/sendfile.h */
|