summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/lib/getline.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/lib/getline.h')
-rw-r--r--gnu/usr.bin/cvs/lib/getline.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/lib/getline.h b/gnu/usr.bin/cvs/lib/getline.h
index 30bcc258373..3c697c8e6e3 100644
--- a/gnu/usr.bin/cvs/lib/getline.h
+++ b/gnu/usr.bin/cvs/lib/getline.h
@@ -9,7 +9,15 @@
#define __PROTO(args) ()
#endif /* GCC. */
+#define GETLINE_NO_LIMIT -1
+
+int
+ get_line __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
+int
+ getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
+ int limit));
int
- getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
+ getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
+ char _terminator, int _offset, int limit));
#endif /* _getline_h_ */