aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-11-25 16:06:55 -0500
committerRob Landley <rob@landley.net>2006-11-25 16:06:55 -0500
commit1521a9e9691bf7d6f16bf3b11b5b8fc9079166fb (patch)
treefe416d95c8f7cecadcd4ff89dce24856c58c546c /lib
parentb23d230ad55e028a4516e0cd60b7ecdc25504e4b (diff)
downloadtoybox-1521a9e9691bf7d6f16bf3b11b5b8fc9079166fb.tar.gz
Add cat -v.
Diffstat (limited to 'lib')
-rw-r--r--lib/lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 013e4919..6a398c1a 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -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