2
Copyright (C) 2009- The University of Notre Dame
3
Originally written by Kevin Partington (27 January 2009)
4
This software is distributed under the GNU General Public License.
5
See the file COPYING for details.
8
#ifndef __LINEREADER_H__
9
#define __LINEREADER_H__
11
#define LARGE_LINE_MAX 1048576
13
/** Read a line of any length from a file.
14
@param fp A file pointer, pointing to the beginning of the next line to be read.
15
@return A pointer to the line read. This should be used instead of the original buffer pointer once the function returns.
17
char * get_line( FILE *fp );