blob: bd902aeb4ca5ef5a1207c767347881a7de56c2e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <sys/types.h>
#include <sys/uio.h>
#include <skalibs/buffer.h>
ssize_t buffer_putv (buffer *b, struct iovec const *v, unsigned int n)
{
size_t w = 0 ;
return buffer_putvall(b, v, n, &w) ? (ssize_t)w : -1 ;
}
|