]> git.tuebingen.mpg.de Git - paraslash.git/commit
Introduce xwritev().
authorAndre Noll <maan@systemlinux.org>
Fri, 23 Dec 2011 17:28:45 +0000 (18:28 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 20 Jan 2012 21:57:07 +0000 (22:57 +0100)
commitc953ad4edff1bb64fb54124bfec7c3726cb2865a
treedbc93daefb24242e69038181fe38b08357a0e572
parent779cfd85fd90d1f9182deade08d5fe3f2f3a1530
Introduce xwritev().

For the sideband API we will need to write two buffers one after
another. This patch adds the new public function xwritev() to fd.c
which takes an arbitrary number of buffers and calls writev() to
perform the write.

With this function in place, xwrite() becomes a trivial wrapper
for xwritev().
fd.c
fd.h