summaryrefslogtreecommitdiff
path: root/src/sys/uio
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-09 16:25:30 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-09 16:25:30 -0500
commit112ba44bc5bf1fde8da6f7b67d0784cfebe5c47f (patch)
tree120dd2e5d3ccfe3fe2756c32689da66d3474a1c8 /src/sys/uio
parent023e739b94593f274c4bd455d980380d9dc34bca (diff)
merge XOPEN identifiers
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)
+*/