summaryrefslogtreecommitdiff
path: root/userland/libc/include/sys/sendfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include/sys/sendfile.h')
-rw-r--r--userland/libc/include/sys/sendfile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/userland/libc/include/sys/sendfile.h b/userland/libc/include/sys/sendfile.h
new file mode 100644
index 0000000..5e83999
--- /dev/null
+++ b/userland/libc/include/sys/sendfile.h
@@ -0,0 +1,7 @@
+#include <stdint.h>
+#include <typedefs.h>
+#include <stddef.h>
+#include <sys/types.h>
+
+u32 sendfile(int out_fd, int in_fd, off_t *offset, size_t count,
+ int *error_rc);