[GRASS-SVN] r30830 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 1 02:49:00 EDT 2008


Author: hamish
Date: 2008-04-01 02:48:59 -0400 (Tue, 01 Apr 2008)
New Revision: 30830

Modified:
   grass/trunk/lib/gis/getl.c
Log:
change doxygen comments to reflect r25319

Modified: grass/trunk/lib/gis/getl.c
===================================================================
--- grass/trunk/lib/gis/getl.c	2008-04-01 02:26:49 UTC (rev 30829)
+++ grass/trunk/lib/gis/getl.c	2008-04-01 06:48:59 UTC (rev 30830)
@@ -37,12 +37,13 @@
  * <code>\\r\\n (\\015\\012)</code> style newlines.
  * <br>
  * <br>
- * Reads in at most <b>n</b> characters from stream and stores them into the 
- * buffer pointed to by <b>buf</b>. Reading stops after an EOF or a newline.
- * New line is not stored in the buffer. At least <b>n</b>+1 must be allocated
+ * Reads in at most <b>n-1</b> characters from stream (the last spot is
+ * reserved for the end-of-string NUL) and stores them into the buffer
+ * pointed to by <b>buf</b>. Reading stops after an EOF or a newline.
+ * New line is not stored in the buffer. At least <b>n</b> must be allocated
  * for the string buffer.<br>
  *
- * \param buf: string buffer to receive read data, at least <b>n</b>+1 must
+ * \param buf: string buffer to receive read data, at least <b>n</b> must
  *   be allocated
  * \param n: maximum number of bytes to read
  * \param fd: file descriptor structure



More information about the grass-commit mailing list