diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-10-02 06:33:59 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-10-02 06:33:59 +0000 |
commit | a3b502f88fd3d67bf547634d411d567524c4c1b1 (patch) | |
tree | c2ec0b150478a3cab9fb18e60d02dedbdc1cfd15 /contrib/cvs/lib/getline.h | |
parent | d81819680486521a84c8aecc540ed04ba315dec0 (diff) |
Import cvs-1.11 onto vendor branch.
Notes
Notes:
svn path=/vendor/cvs/dist/; revision=66525
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_ */ |