summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2013-11-02 11:36:02 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2013-11-02 11:36:02 +0000
commitaeb4824db0005adace70805dfd113134b4182aa3 (patch)
treee64f11c10204f9cb22ebb4c6e4525f3a61b85e07 /include
parent4a6673f0348c86fd75b2d03237eb7e5611d6b76f (diff)
downloadlibapr-aeb4824db0005adace70805dfd113134b4182aa3.tar.gz
merge r1538171 from trunk:
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/branches/1.5.x@1538174 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-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 e2dffec73..65a62af5f 100644
--- a/include/apr_file_io.h
+++ b/include/apr_file_io.h
@@ -127,6 +127,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.
*/
/** @} */