From 52cc780c90d31cd41b89494ea2770c4f9ed47247 Mon Sep 17 00:00:00 2001 From: mekolat Date: Wed, 29 Jul 2015 11:41:36 -0400 Subject: replace socket write with send with MSG_NOSIGNAL --- src/io/fd.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/io/fd.hpp') diff --git a/src/io/fd.hpp b/src/io/fd.hpp index 03a8b44..00aad8f 100644 --- a/src/io/fd.hpp +++ b/src/io/fd.hpp @@ -77,6 +77,7 @@ namespace io ssize_t read(void *buf, size_t count); ssize_t write(const void *buf, size_t count); + ssize_t send(const void *buf, size_t count, int flags); ssize_t pread(void *buf, size_t count, off_t offset); ssize_t pwrite(const void *buf, size_t count, off_t offset); ssize_t readv(const struct iovec *iov, int iovcnt); -- cgit v1.2.3-70-g09d2