summaryrefslogtreecommitdiff
path: root/src/libstddjb/allwritev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/allwritev.c')
-rw-r--r--src/libstddjb/allwritev.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/allwritev.c b/src/libstddjb/allwritev.c
new file mode 100644
index 0000000..d7195a8
--- /dev/null
+++ b/src/libstddjb/allwritev.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/allreadwrite.h>
+#include <skalibs/siovec.h>
+
+unsigned int allwritev (int fd, siovec_t const *v, unsigned int vlen)
+{
+ return allreadwritev(&fd_writesv, fd, v, vlen) ;
+}