summaryrefslogtreecommitdiff
path: root/include/apr_time.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-12-01 01:24:28 +0000
committerJeff Trawick <trawick@apache.org>2001-12-01 01:24:28 +0000
commitf60700658d19c755245942c47685e760fd0cad70 (patch)
treea99db78672ecba695eac1ca2dea1e2c7b17aaedd /include/apr_time.h
parent8d8b11a529eecaedcaa9486b3929a945ee58a2f9 (diff)
downloadapr-f60700658d19c755245942c47685e760fd0cad70.tar.gz
clarify a difference between the string built by ctime() and
the string built by apr_ctime() git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62591 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_time.h')
-rw-r--r--include/apr_time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apr_time.h b/include/apr_time.h
index 99b9d1db4..b9da57c6e 100644
--- a/include/apr_time.h
+++ b/include/apr_time.h
@@ -210,6 +210,8 @@ APR_DECLARE(apr_status_t) apr_rfc822_date(char *date_str, apr_time_t t);
* apr_ctime formats dates in the ctime() format
* in an efficient manner. it is a fixed length format
* and requires the indicated amount of storage
+ * Unlike ANSI/ISO C ctime(), apr_ctime() does not include
+ * a \n at the end of the string.
* including trailing \0
* @param date_str String to write to.
* @param t the time to convert