X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetnline.h;h=c5eafa3290cdf7b4637e4aaacb66e44610e1636e;hb=4ec4a8e6d91a7247cf7d5b819572026ef5e654c3;hp=84e6a1787c07b8d7297e0d06a3f947e4129284aa;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/getnline.h b/lib/getnline.h index 84e6a1787..c5eafa329 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-2013 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 */