You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by sf...@apache.org on 2011/02/26 19:54:54 UTC
svn commit: r1074901 - /apr/apr/branches/1.4.x/include/apr_file_io.h
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);