view buffer_1.c @ 13:0a35d8de4296

support profiling with gprof
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 07 Feb 2025 14:43:27 +0000
parents 2cb46628feec
children
line wrap: on
line source

#include "readwrite.h"
#include "buffer.h"

char buffer_1_space[BUFFER_OUTSIZE];
static buffer it = BUFFER_INIT(write,1,buffer_1_space,sizeof buffer_1_space);
buffer *buffer_1 = &it;