git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
typo
[exim.git]
/
src
/
OS
/
os.c-Linux
diff --git
a/src/OS/os.c-Linux
b/src/OS/os.c-Linux
index 4bca77615d5f2d5b6aabffa885885b4dc9e0c9d6..dd65c8b3930cfbe71326db9c3cbcfc1be29962f3 100644
(file)
--- a/
src/OS/os.c-Linux
+++ b/
src/OS/os.c-Linux
@@
-150,4
+150,16
@@
return yield;
#endif /* FIND_RUNNING_INTERFACES */
+
+/*************
+* Sendfile *
+*************/
+#include <sys/sendfile.h>
+
+ssize_t
+os_sendfile(int out, int in, off_t * off, size_t cnt)
+{
+return sendfile(out, in, off, cnt);
+}
+
/* End of os.c-Linux */