diff options
Diffstat (limited to 'src/libstddjb/siovec_from_iovec.c')
-rw-r--r-- | src/libstddjb/siovec_from_iovec.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libstddjb/siovec_from_iovec.c b/src/libstddjb/siovec_from_iovec.c deleted file mode 100644 index ffc0508..0000000 --- a/src/libstddjb/siovec_from_iovec.c +++ /dev/null @@ -1,14 +0,0 @@ -/* ISC license. */ - -#include <sys/types.h> -#include <sys/uio.h> -#include <skalibs/siovec.h> - -void siovec_from_iovec (siovec_t *v, struct iovec const *iov, unsigned int n) -{ - while (n--) - { - v[n].s = iov[n].iov_base ; - v[n].len = iov[n].iov_len ; - } -} |