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
Testsuite: munge for non-dkim
[exim.git]
/
src
/
OS
/
os.c-Linux
diff --git
a/src/OS/os.c-Linux
b/src/OS/os.c-Linux
index 0043e86276d757628d31daea6ba86b5df595a687..34dd7c1905d3319510c8ac17bc81c8478c2afac1 100644
(file)
--- a/
src/OS/os.c-Linux
+++ b/
src/OS/os.c-Linux
@@
-2,7
+2,8
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1997 - 2014 */
+/* Copyright (c) University of Cambridge 1997 - 2018 */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* See the file NOTICE for conditions of use and distribution. */
/* Linux-specific code. This is concatenated onto the generic
/* See the file NOTICE for conditions of use and distribution. */
/* Linux-specific code. This is concatenated onto the generic
@@
-150,4
+151,16
@@
return yield;
#endif /* FIND_RUNNING_INTERFACES */
#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 */
/* End of os.c-Linux */