Go to the documentation of this file.
79 return (uint32_t)(f->
wndx - f->
rndx);
89 unsigned int old_size = f->
end - f->
buffer;
91 if (old_size < new_size) {
109 unsigned int old_size = f->
end - f->
buffer;
123 int (*
func)(
void *,
void *,
int))
126 uint32_t wndx= f->
wndx;
132 if (
func(src, wptr, len) <= 0)
135 memcpy(wptr, src, len);
151 void (*
func)(
void *,
void *,
int))
159 memcpy(dest, f->
rptr, len);
165 }
while (buf_size > 0);
193 for (i = -n + 1; i <
n; i++) {
195 printf(
"%d: %d\n", i, *v);