aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/iovec.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/iovec.h')
-rw-r--r--sysdeps/generic/iovec.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/generic/iovec.h b/sysdeps/generic/iovec.h
new file mode 100644
index 0000000..307fc6a
--- /dev/null
+++ b/sysdeps/generic/iovec.h
@@ -0,0 +1,9 @@
+/* `struct iovec' -- Structure describing a section of memory. */
+
+struct iovec
+{
+ /* Starting address. */
+ __ptr_t iov_base;
+ /* Length in bytes. */
+ size_t iov_len;
+};