diff options
Diffstat (limited to 'contrib/cvs/lib/getline.h')
-rw-r--r-- | contrib/cvs/lib/getline.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/cvs/lib/getline.h b/contrib/cvs/lib/getline.h index d061b7cf1b93..93a30eb80ad8 100644 --- a/contrib/cvs/lib/getline.h +++ b/contrib/cvs/lib/getline.h @@ -9,10 +9,15 @@ #define __PROTO(args) () #endif /* GCC. */ +#define GETLINE_NO_LIMIT -1 + int getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream)); int + getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream, + int limit)); +int getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream, - char _terminator, int _offset)); + char _terminator, int _offset, int limit)); #endif /* _getline_h_ */ |