summaryrefslogtreecommitdiff
path: root/include/apr_file_io.h
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-05-01 03:16:30 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-05-01 03:16:30 +0000
commitd1cd5dbccdeb73f57e251b216f3e238960861ce6 (patch)
tree4bc0d25765671b41d8ce1a2686fd3530059b4a70 /include/apr_file_io.h
parentecfdcc37ceb07a86da28f3500def444b7d8f8027 (diff)
downloadlibapr-d1cd5dbccdeb73f57e251b216f3e238960861ce6.tar.gz
apr_file_gets(): Return APR_SUCCESS if any characters are
returned. Any I/O errors or EOF will be reported on the next call. Callers that are coded to expect returned data + APR_EOF when there is no final newline are affected by this change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64498 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_file_io.h')
-rw-r--r--include/apr_file_io.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/apr_file_io.h b/include/apr_file_io.h
index 6a2800b5a..3a4fcbd4b 100644
--- a/include/apr_file_io.h
+++ b/include/apr_file_io.h
@@ -451,10 +451,7 @@ APR_DECLARE(apr_status_t) apr_file_ungetc(char ch, apr_file_t *thefile);
* @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 APR_EOF will be returned if some characters are read but the end
- * of file is reached before a newline is read.
- * @remark The buffer will be '\0'-terminated if any characters are stored,
- * even if something other than APR_SUCCESS is returned.
+ * @remark The buffer will be '\0'-terminated if any characters are stored.
*/
APR_DECLARE(apr_status_t) apr_file_gets(char *str, int len, apr_file_t *thefile);