summaryrefslogtreecommitdiff
path: root/src/libstddjb/allreadv.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-02-01 13:50:13 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-02-01 13:50:13 +0000
commitcea441e894405c6d28e302ae4360e9f848b37797 (patch)
tree497feb0ad176f9e07e3950628cdd99afa3ae9d8b /src/libstddjb/allreadv.c
parented49b72c0a31b6034026948851edf11cfa990fa0 (diff)
downloadskalibs-cea441e894405c6d28e302ae4360e9f848b37797.tar.xz
It will work better with the new files >.>
Diffstat (limited to 'src/libstddjb/allreadv.c')
-rw-r--r--src/libstddjb/allreadv.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/allreadv.c b/src/libstddjb/allreadv.c
new file mode 100644
index 0000000..5eb3863
--- /dev/null
+++ b/src/libstddjb/allreadv.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/allreadwrite.h>
+#include <skalibs/siovec.h>
+
+unsigned int allreadv (int fd, siovec_t const *v, unsigned int vlen)
+{
+ return allreadwritev(&fd_readsv, fd, v, vlen) ;
+}