Go to the documentation of this file.
56 return (uint32_t)(f->
wndx - f->
rndx);
66 unsigned int old_size = f->
end - f->
buffer;
68 if (old_size < new_size) {
86 unsigned int old_size = f->
end - f->
buffer;
100 int (*
func)(
void *,
void *,
int))
103 uint32_t wndx= f->
wndx;
109 if (
func(src, wptr, len) <= 0)
112 memcpy(wptr, src, len);
128 void (*
func)(
void *,
void *,
int))
136 memcpy(dest, f->
rptr, len);
142 }
while (buf_size > 0);
170 for (i = -n + 1; i <
n; i++) {
172 printf(
"%d: %d\n", i, *v);