sbase/text.h

13 lines
304 B
C
Raw Normal View History

2011-05-25 15:40:47 -04:00
/* See LICENSE file for copyright and license details. */
2012-05-21 17:09:38 -04:00
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 *);
2011-05-26 13:18:42 -04:00
void concat(FILE *, const char *, FILE *, const char *);