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