aboutsummaryrefslogtreecommitdiff
path: root/system/include/sys/sendfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/sys/sendfile.h')
-rw-r--r--system/include/sys/sendfile.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/include/sys/sendfile.h b/system/include/sys/sendfile.h
new file mode 100644
index 00000000..1f58f0dd
--- /dev/null
+++ b/system/include/sys/sendfile.h
@@ -0,0 +1,16 @@
+#ifndef _SYS_SENDFILE_H
+#define _SYS_SENDFILE_H
+
+#include <sys/types.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif