view buffer.c @ 14:b7bbc84fe17f

increase buffer size (did not appear to help)
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 07 Feb 2025 14:44:07 +0000
parents 3bfef1f22a97
children
line wrap: on
line source

#include "buffer.h"

void buffer_init(buffer *s,ssize_t (*op)(),int fd,char *buf,unsigned int len)
{
  s->x = buf;
  s->fd = fd;
  s->op = op;
  s->p = 0;
  s->n = len;
}