mirror of
git://git.suckless.org/ubase
synced 2025-02-18 03:27:11 +00:00
12 lines
247 B
C
12 lines
247 B
C
/* See LICENSE file for copyright and license details. */
|
|
|
|
struct linebuf {
|
|
char **lines;
|
|
long nlines;
|
|
long capacity;
|
|
};
|
|
#define EMPTY_LINEBUF {NULL, 0, 0,}
|
|
void getlines(FILE *, struct linebuf *);
|
|
|
|
ssize_t agetline(char **, size_t *, FILE *);
|