blob: 6b90ab66508b435772ff2dd26c8b8060e41c2c24 (
plain)
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) ;
}
|