summaryrefslogtreecommitdiff
path: root/lib/getline.h
blob: c71aea1f3eb0fe20a5e2ba143ec4e455a484d041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _getline_h_
#define _getline_h_ 1

#include <stdio.h>

#ifndef __P
#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
#define __P(args) args
#else
#define __P(args) ()
#endif  /* GCC.  */
#endif  /* Not __P.  */

int
  getline __P ((char **_lineptr, size_t *_n, FILE *_stream));

#endif /* _getline_h_ */