summaryrefslogtreecommitdiff
path: root/src/libstddjb/buffer_putv.c
blob: fc4681158c4a4e22d3e0512d4fb2ed95ad9fb0db (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/buffer.h>
#include <skalibs/siovec.h>

int buffer_putv (buffer *b, siovec_t const *v, unsigned int n)
{
  unsigned int w = 0 ;
  return buffer_putvall(b, v, n, &w) ? w : -1 ;
}