xref: /openbsd/gnu/usr.bin/cvs/lib/getline.h (revision 5e617892)
113571821Stholo #ifndef _getline_h_
213571821Stholo #define _getline_h_ 1
313571821Stholo 
413571821Stholo #include <stdio.h>
513571821Stholo 
613571821Stholo #if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
713571821Stholo #define __PROTO(args) args
813571821Stholo #else
913571821Stholo #define __PROTO(args) ()
1013571821Stholo #endif  /* GCC.  */
1113571821Stholo 
1213571821Stholo int
1313571821Stholo   getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
14*5e617892Stholo int
15*5e617892Stholo   getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
16*5e617892Stholo 		   char _terminator, int _offset));
1713571821Stholo 
1813571821Stholo #endif /* _getline_h_ */
19