+/Femto
toy text editor
git clone https://git.julia.blue/+/Femto
973c5b9
master
1#ifndef ABUF_H 2#define ABUF_H 3 4#include <stdlib.h> 5#include <string.h> 6 7typedef struct abuf { 8char * b ; 9int len ; 10}abuf ; 11 12#define ABUF_INIT {NULL, 0}; 13 14void abappend (abuf * ab ,const char * s ,int len ); 15 16void abfree (abuf * ab ); 17 18#endif