1 2 3 4 5 6 7 8 9 10
/* ISC license. */ #include <skalibs/cbuffer.h> unsigned int cbuffer_wseek (cbuffer_t *b, unsigned int len) { register unsigned int max = cbuffer_available(b) ; if (len > max) len = max ; return cbuffer_WSEEK(b, len) ; }