X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetnline.h;h=d9d456bd1b0f78ce990505d033e95d43476ad24d;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=84e6a1787c07b8d7297e0d06a3f947e4129284aa;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/getnline.h b/lib/getnline.h index 84e6a1787..d9d456bd1 100644 --- a/lib/getnline.h +++ b/lib/getnline.h @@ -1,6 +1,6 @@ /* getnline - Read a line from a stream, with bounded memory allocation. - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003-2004, 2009-2014 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 @@ -31,7 +31,7 @@ Return the number of bytes read and stored at *LINEPTR (not including the NUL terminator), or -1 on error or EOF. */ extern ssize_t getnline (char **lineptr, size_t *linesize, size_t nmax, - FILE *stream); + FILE *stream); /* Read a line, up to the next occurrence of DELIMITER, from STREAM, and store it in *LINEPTR. @@ -42,6 +42,6 @@ extern ssize_t getnline (char **lineptr, size_t *linesize, size_t nmax, Return the number of bytes read and stored at *LINEPTR (not including the NUL terminator), or -1 on error or EOF. */ extern ssize_t getndelim (char **lineptr, size_t *linesize, size_t nmax, - int delimiter, FILE *stream); + int delimiter, FILE *stream); #endif /* GETNLINE_H */