freebsd-ports/x11-themes/qtcurve-gtk2/files/getline.h
Dima Panov 1a29625986 - Dropping maintainership [1]
- While here, try to fix build on 6.x/7.x by providing getline() [2]

PR:		146390 [1]
Submitted by:	Dmitry Klimov <lazyklimm@gmail.com>	(maintainer) [1]
		kmoore@ via irc/email [2]
2010-05-08 10:45:27 +00:00

24 lines
580 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. */
#define GETLINE_NO_LIMIT -1
#ifndef _WITH_GETLINE
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,
int _terminator, int _offset, int limit));
#endif
#endif /* _getline_h_ */