summaryrefslogtreecommitdiff
path: root/src/sys/uio
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/uio')
-rw-r--r--src/sys/uio/readv.c10
-rw-r--r--src/sys/uio/struct_iovec.c10
-rw-r--r--src/sys/uio/writev.c10
3 files changed, 30 insertions, 0 deletions
diff --git a/src/sys/uio/readv.c b/src/sys/uio/readv.c
new file mode 100644
index 00000000..5e4e82b9
--- /dev/null
+++ b/src/sys/uio/readv.c
@@ -0,0 +1,10 @@
+#include <sys/uio.h>
+
+ssize_t readv(int fildes, const struct iovec * iov, int iovcnt)
+{
+ return -1;
+}
+
+/*
+XOPEN(400)
+*/
diff --git a/src/sys/uio/struct_iovec.c b/src/sys/uio/struct_iovec.c
new file mode 100644
index 00000000..dd275239
--- /dev/null
+++ b/src/sys/uio/struct_iovec.c
@@ -0,0 +1,10 @@
+#include <sys/uio.h>
+
+struct iovec {
+ void * iov_base;
+ size_t iov_len;
+};
+
+/*
+XOPEN(400)
+*/
diff --git a/src/sys/uio/writev.c b/src/sys/uio/writev.c
new file mode 100644
index 00000000..44d8aab4
--- /dev/null
+++ b/src/sys/uio/writev.c
@@ -0,0 +1,10 @@
+#include <sys/uio.h>
+
+ssize_t writev(int fildes, const struct iovec * iov, int iovcnt)
+{
+ return -1;
+}
+
+/*
+XOPEN(400)
+*/