Go to the documentation of this file.
54 return (uint32_t)(f->
wndx - f->
rndx);
64 unsigned int old_size = f->
end - f->
buffer;
66 if (old_size < new_size) {
84 unsigned int old_size = f->
end - f->
buffer;
98 int (*
func)(
void *,
void *,
int))
101 uint32_t wndx= f->
wndx;
107 if (
func(src, wptr, len) <= 0)
110 memcpy(wptr, src, len);
126 void (*
func)(
void *,
void *,
int))
134 memcpy(dest, f->
rptr, len);
140 }
while (buf_size > 0);
167 for (i = -n + 1; i <
n; i++) {
169 printf(
"%d: %d\n", i, *v);