aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorYu Kobayashi <yukoba@accelart.jp>2013-08-03 19:31:17 +0900
committerYu Kobayashi <yukoba@accelart.jp>2013-08-03 19:31:17 +0900
commitc06061de23104901204fa28d57432baaa9717053 (patch)
tree721a2b911c7fc4b560e15049259129a869102d85 /system
parent4b4ca9844a7ee8e40e3effd9ca5b3d7e279a12d7 (diff)
Add sys/sendfile.h
Diffstat (limited to 'system')
-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