blob: 6a914de931aa5eb9e486b26a5294b6f48a1a2539 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <skalibs/cbuffer.h>
#include <skalibs/siovec.h>
unsigned int cbuffer_putv (cbuffer_t *b, siovec_t const *v, unsigned int n)
{
siovec_t vdest[2] ;
register unsigned int w ;
cbuffer_wpeek(b, vdest) ;
w = siovec_deal(vdest, 2, v, n) ;
return cbuffer_WSEEK(b, w) ;
}
|