aboutsummaryrefslogtreecommitdiff
path: root/src/actual_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actual_function.h')
-rw-r--r--src/actual_function.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actual_function.h b/src/actual_function.h
index 0ffe0c2..8229ccf 100644
--- a/src/actual_function.h
+++ b/src/actual_function.h
@@ -7,6 +7,7 @@
#include <dlfcn.h>
#include <sys/mman.h>
+#include <sys/uio.h>
#include <memory>
#include <cstring>
@@ -31,6 +32,11 @@ namespace actual {
int, const void*, size_t
>("write");
+ static auto writev = get_actual_function<
+ ssize_t,
+ int, const iovec*, int
+ >("writev");
+
static auto rename = get_actual_function<
int,
const char*, const char*