/* getnline - Read a line from a stream, with bounded memory allocation.
- Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2006, 2009, 2010 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
ssize_t
getndelim (char **lineptr, size_t *linesize, size_t nmax,
- int delimiter, FILE *stream)
+ int delimiter, FILE *stream)
{
return getndelim2 (lineptr, linesize, 0, nmax, delimiter, EOF, stream);
}