Introduction
Introduction Statistics Contact Development Disclaimer Help
text.h - sbase - suckless unix tools
git clone git://git.suckless.org/sbase
Log
Files
Refs
README
LICENSE
---
text.h (299B)
---
1 /* See LICENSE file for copyright and license details. */
2
3 struct line {
4 char *data;
5 size_t len;
6 };
7
8 struct linebuf {
9 struct line *lines;
10 size_t nlines;
11 size_t capacity;
12 };
13 #define EMPTY_LINEBUF {NULL, 0, 0,}
14 void getlines(FILE *, struct linebuf *);
15
16 int linecmp(struct line *, struct line *);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.