diff lib/linebuffer.h @ 8816:b8edbad1b48a

Tweak doc.
author Bruno Haible <bruno@clisp.org>
date Mon, 14 May 2007 21:36:29 +0000 (2007-05-14)
parents 28d0ef9a0a36
children bbbbbf4cd1c5
line wrap: on
line diff
--- a/lib/linebuffer.h
+++ b/lib/linebuffer.h
@@ -37,15 +37,15 @@
 /* Read an arbitrarily long line of text from STREAM into LINEBUFFER.
    Consider lines to be terminated by DELIMITER.
    Keep the delimiter; append DELIMITER if we reach EOF and it wasn't
-   the last character in the file.  Do not null terminate.
-   Return LINEBUFFER, except at end of file return 0.  */
+   the last character in the file.  Do not NUL-terminate.
+   Return LINEBUFFER, except at end of file return NULL.  */
 struct linebuffer *readlinebuffer_delim (struct linebuffer *linebuffer,
 					 FILE *stream, char delimiter);
 
 /* Read an arbitrarily long line of text from STREAM into LINEBUFFER.
    Keep the newline; append a newline if it's the last line of a file
-   that ends in a non-newline character.  Do not null terminate.
-   Return LINEBUFFER, except at end of file return 0.  */
+   that ends in a non-newline character.  Do not NUL-terminate.
+   Return LINEBUFFER, except at end of file return NULL.  */
 struct linebuffer *readlinebuffer (struct linebuffer *linebuffer, FILE *stream);
 
 /* Free linebuffer LINEBUFFER and its data, all allocated with malloc. */