summaryrefslogtreecommitdiff
path: root/include/apr_file_io.h
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-04-03 23:20:05 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-04-03 23:20:05 +0000
commit97150897cbcbb4390c5f1decd9710949d84fcc20 (patch)
tree0ac10adc969285bb47a53940cf686f4c83adc876 /include/apr_file_io.h
parentc305bdf1cb9f2dfe4fbaccd45f017bf4b8fdcf0c (diff)
downloadlibapr-97150897cbcbb4390c5f1decd9710949d84fcc20.tar.gz
add some additional information to the documentation of
apr_file_gets() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_file_io.h')
-rw-r--r--include/apr_file_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apr_file_io.h b/include/apr_file_io.h
index 3f1184aa8..6a2800b5a 100644
--- a/include/apr_file_io.h
+++ b/include/apr_file_io.h
@@ -451,6 +451,10 @@ 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.
*/
APR_DECLARE(apr_status_t) apr_file_gets(char *str, int len, apr_file_t *thefile);