about summary refs log tree commit diff
path: root/include/sys/sendfile.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-18 21:52:26 -0400
committerRich Felker <dalias@aerifal.cx>2011-03-18 21:52:26 -0400
commitf5ba2bc9ca84d67f03f2542bfff0525f2f478e4c (patch)
treeba091c8f54b1a82ed2d69a461341eb0d640fecd2 /include/sys/sendfile.h
parentfc27b96c7d9b2c82679508a57ac998d773f14f08 (diff)
downloadmusl-f5ba2bc9ca84d67f03f2542bfff0525f2f478e4c.tar.gz
musl-f5ba2bc9ca84d67f03f2542bfff0525f2f478e4c.tar.xz
musl-f5ba2bc9ca84d67f03f2542bfff0525f2f478e4c.zip
various legacy and linux-specific stuff
this commit is part of an effort to make more of busybox work
out-of-the-box.
Diffstat (limited to 'include/sys/sendfile.h')
-rw-r--r--include/sys/sendfile.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/sys/sendfile.h b/include/sys/sendfile.h
new file mode 100644
index 00000000..f0c6ed05
--- /dev/null
+++ b/include/sys/sendfile.h
@@ -0,0 +1,16 @@
+#ifndef _SYS_INOTIFY_H
+#define _SYS_INOTIFY_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <unistd.h>
+
+ssize_t sendfile(int, int, off_t *, size_t);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif