#include "buffer.h" void buffer_seek(buffer* b,size_t len) { size_t n=b->p+len; if (np) n=b->p; if (n>b->n) n=b->n; b->p=n; }