ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

text.h (305B)


      1 /* See LICENSE file for copyright and license details. */
      2 
      3 struct linebuf {
      4 	char **lines;
      5 	long nlines;
      6 	long capacity;
      7 };
      8 #define EMPTY_LINEBUF {NULL, 0, 0,}
      9 void getlines(FILE *, struct linebuf *);
     10 
     11 ssize_t agetline(char **, size_t *, FILE *);
     12 
     13 void concat(FILE *, const char *, FILE *, const char *);