xref: /openbsd-src/gnu/usr.bin/cvs/lib/getline.h (revision 5e617892100bd75f195dd997a7ce0514322cf7e8)
1 #ifndef _getline_h_
2 #define _getline_h_ 1
3 
4 #include <stdio.h>
5 
6 #if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
7 #define __PROTO(args) args
8 #else
9 #define __PROTO(args) ()
10 #endif  /* GCC.  */
11 
12 int
13   getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
14 int
15   getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
16 		   char _terminator, int _offset));
17 
18 #endif /* _getline_h_ */
19