apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1074901 - /apr/apr/branches/1.4.x/include/apr_file_io.h
Date Sat, 26 Feb 2011 18:54:54 GMT
Author: sf
Date: Sat Feb 26 18:54:54 2011
New Revision: 1074901

URL: http://svn.apache.org/viewvc?rev=1074901&view=rev
Log:
clarify docs for apr_file_gets

Modified:
    apr/apr/branches/1.4.x/include/apr_file_io.h

Modified: apr/apr/branches/1.4.x/include/apr_file_io.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/include/apr_file_io.h?rev=1074901&r1=1074900&r2=1074901&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/include/apr_file_io.h (original)
+++ apr/apr/branches/1.4.x/include/apr_file_io.h Sat Feb 26 18:54:54 2011
@@ -542,11 +542,12 @@ APR_DECLARE(apr_status_t) apr_file_getc(
 APR_DECLARE(apr_status_t) apr_file_ungetc(char ch, apr_file_t *thefile);
 
 /**
- * Read a string from the specified file.
+ * Read a line from the specified file
  * @param str The buffer to store the string in. 
  * @param len The length of the string
  * @param thefile The file descriptor to read from
  * @remark The buffer will be NUL-terminated if any characters are stored.
+ *         The newline at the end of the line will not be stripped.
  */
 APR_DECLARE(apr_status_t) apr_file_gets(char *str, int len, 
                                         apr_file_t *thefile);



Mime
View raw message