aboutsummaryrefslogtreecommitdiff
path: root/system/include/sys/sendfile.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-05 14:00:16 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-05 14:00:16 -0700
commit1b7122c6aaa19cb6e2a62598dca8e0fd9e3cc7a7 (patch)
tree659d33c0fcfa4f6ae3afaae9808649e4021979b7 /system/include/sys/sendfile.h
parent6039aea9a13ea217301c2c19eca3e857dc2dace7 (diff)
parenta0c6ab57cb11258df23dd670aebdc260d9e16da3 (diff)
Merge branch 'incoming'
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