From 112ba44bc5bf1fde8da6f7b67d0784cfebe5c47f Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 9 Feb 2019 16:25:30 -0500 Subject: merge XOPEN identifiers --- src/sys/uio/readv.c | 10 ++++++++++ src/sys/uio/struct_iovec.c | 10 ++++++++++ src/sys/uio/writev.c | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 src/sys/uio/readv.c create mode 100644 src/sys/uio/struct_iovec.c create mode 100644 src/sys/uio/writev.c (limited to 'src/sys/uio') 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 + +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 + +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 + +ssize_t writev(int fildes, const struct iovec * iov, int iovcnt) +{ + return -1; +} + +/* +XOPEN(400) +*/ -- cgit v1.2.1