Mercurial > hg > toybox
diff lib/lib.h @ 35:f2c7f0799ebe
Add cat -v.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 25 Nov 2006 16:06:55 -0500 |
parents | eb46bb5626cb |
children | bb4c38853a7d |
line wrap: on
line diff
--- a/lib/lib.h Sat Nov 25 13:48:02 2006 -0500 +++ b/lib/lib.h Sat Nov 25 16:06:55 2006 -0500 @@ -4,6 +4,9 @@ * Copyright 2006 Rob Landley <rob@landley.net> */ +// libc generally has this, but the headers are screwed up +ssize_t getline(char **lineptr, size_t *n, FILE *stream); + // llist.c void llist_free(void *list, void (*freeit)(void *data)); void *llist_pop(void *list); // actually void **list, but the compiler's dumb