morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base.git
Log | Files | Refs

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 *);