diff options
author | peter <peter@FreeBSD.org> | 2000-10-02 06:33:59 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-10-02 06:33:59 +0000 |
commit | 590c411955d6975551ffeaf41d7faf4b26f836d1 (patch) | |
tree | c2ec0b150478a3cab9fb18e60d02dedbdc1cfd15 /contrib/cvs/lib/getline.h | |
parent | 784ea5066cbea73d04e8ce5783dd0eb842e3ac1f (diff) | |
download | FreeBSD-src-590c411955d6975551ffeaf41d7faf4b26f836d1.zip FreeBSD-src-590c411955d6975551ffeaf41d7faf4b26f836d1.tar.gz |
Import cvs-1.11 onto vendor branch.
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 d061b7c..93a30eb 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_ */ |