X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2FOS%2Fos.c-Linux;h=59d81f8ad6b51e3a5a2eccb18c20c79c2413125a;hb=c85879f8174a658ddac9524d078b2a717f964710;hp=1e8a6f47d1f2c49bfbe1a6aa56feba6b36e718d3;hpb=3634fc257bd0667daef14d72005cd87c735bbb24;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/OS/os.c-Linux b/src/OS/os.c-Linux index 1e8a6f47d..59d81f8ad 100644 --- a/src/OS/os.c-Linux +++ b/src/OS/os.c-Linux @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1997 - 2001 */ +/* Copyright (c) University of Cambridge 1997 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ /* Linux-specific code. This is concatenated onto the generic @@ -94,7 +94,7 @@ ip_address_item *last = NULL; ip_address_item *next; char addr6p[8][5]; unsigned int plen, scope, dad_status, if_idx; -char devname[20]; +char devname[20+1]; FILE *f; #endif @@ -150,4 +150,16 @@ return yield; #endif /* FIND_RUNNING_INTERFACES */ + +/************* +* Sendfile * +*************/ +#include + +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 */