You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2007/05/15 04:23:27 UTC
svn commit: r538043 - /apr/apr/branches/1.2.x/include/apr_file_io.h
Author: bojan
Date: Mon May 14 19:23:26 2007
New Revision: 538043
URL: http://svn.apache.org/viewvc?view=rev&rev=538043
Log:
Backport r538042 from trunk.
Document what happens to file offset in apr_file_trunc().
Modified:
apr/apr/branches/1.2.x/include/apr_file_io.h
Modified: apr/apr/branches/1.2.x/include/apr_file_io.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/include/apr_file_io.h?view=diff&rev=538043&r1=538042&r2=538043
==============================================================================
--- apr/apr/branches/1.2.x/include/apr_file_io.h (original)
+++ apr/apr/branches/1.2.x/include/apr_file_io.h Mon May 14 19:23:26 2007
@@ -742,6 +742,7 @@
* Truncate the file's length to the specified offset
* @param fp The file to truncate
* @param offset The offset to truncate to.
+ * @remark The read/write file offset is repositioned to offset.
*/
APR_DECLARE(apr_status_t) apr_file_trunc(apr_file_t *fp, apr_off_t offset);