summaryrefslogtreecommitdiff
path: root/src/io/fd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/fd.cpp')
-rw-r--r--src/io/fd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/io/fd.cpp b/src/io/fd.cpp
index bb0bbd5..43bf7c4 100644
--- a/src/io/fd.cpp
+++ b/src/io/fd.cpp
@@ -75,6 +75,10 @@ namespace io
{
return ::write(fd, buf, count);
}
+ ssize_t FD::send(const void *buf, size_t count, int flags)
+ {
+ return ::send(fd, buf, count, flags);
+ }
ssize_t FD::pread(void *buf, size_t count, off_t offset)
{
return ::pread(fd, buf, count, offset);