diff options
author | Bojan Smojver <bojan@apache.org> | 2009-06-14 23:35:13 +0000 |
---|---|---|
committer | Bojan Smojver <bojan@apache.org> | 2009-06-14 23:35:13 +0000 |
commit | 631a4e832d58680acfad34dc89085c4b079a44db (patch) | |
tree | bce2d7e9419757558f1fbc360018904219d54b86 /file_io/os2 | |
parent | eaa06e4b9bcc32b4340b559831bd0937b4f4e578 (diff) | |
download | apr-631a4e832d58680acfad34dc89085c4b079a44db.tar.gz apr-631a4e832d58680acfad34dc89085c4b079a44db.zip |
Add apr_file_sync() and apr_file_datasync() calls.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@784633 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2')
-rw-r--r-- | file_io/os2/readwrite.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/file_io/os2/readwrite.c b/file_io/os2/readwrite.c index d680dcc1c..27a6ecb8c 100644 --- a/file_io/os2/readwrite.c +++ b/file_io/os2/readwrite.c @@ -304,6 +304,15 @@ APR_DECLARE(apr_status_t) apr_file_flush(apr_file_t *thefile) } } +APR_DECLARE(apr_status_t) apr_file_sync(apr_file_t *thefile) +{ + return APR_SUCCESS; +} + +APR_DECLARE(apr_status_t) apr_file_datasync(apr_file_t *thefile) +{ + return APR_SUCCESS; +} APR_DECLARE(apr_status_t) apr_file_gets(char *str, int len, apr_file_t *thefile) { |