freebsd-nq/contrib/cvs/lib/getline.h
1998-03-10 13:40:57 +00:00

19 lines
402 B
C

#ifndef _getline_h_
#define _getline_h_ 1
#include <stdio.h>
#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
#define __PROTO(args) args
#else
#define __PROTO(args) ()
#endif /* GCC. */
int
getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
int
getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
char _terminator, int _offset));
#endif /* _getline_h_ */