summaryrefslogtreecommitdiff
path: root/include/apr_file_io.h
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2013-11-02 11:17:54 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2013-11-02 11:17:54 +0000
commitd85fa3e6a7cdc6659e2aefc2d7af75722d58fd4a (patch)
tree06bbe9c92b2c2fd7b966352a0c8bbff633393a9d /include/apr_file_io.h
parenta3cdac7e8af14f39bce15d1e875c97370d8c5326 (diff)
downloadlibapr-d85fa3e6a7cdc6659e2aefc2d7af75722d58fd4a.tar.gz
APR_FOPEN_NONBLOCK is expected to be critical for an app
that uses it; return APR_ENOTIMPL instead of ignoring it if not supported. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1538171 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 61b58ffb5..ea5c66f47 100644
--- a/include/apr_file_io.h
+++ b/include/apr_file_io.h
@@ -134,6 +134,10 @@ extern "C" {
* if it was previously created and written without the sparse flag.
* On platforms which do not understand, or on file systems which
* cannot handle sparse files, the flag is ignored by apr_file_open().
+ *
+ * @def APR_FOPEN_NONBLOCK
+ * @warning APR_FOPEN_NONBLOCK is not implemented on all platforms.
+ * Callers should be prepared for it to fail with #APR_ENOTIMPL.
*/
/** @} */