summaryrefslogtreecommitdiff
path: root/include/apr_file_io.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-10-14 06:12:00 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-10-14 06:12:00 +0000
commitb3133948c7f22999745ca41a172938b6e1ca3cea (patch)
tree18c84e24414419a396e11386f433f772ff548833 /include/apr_file_io.h
parent8647a7de7dac8f0fe9ea62c6eb38a2673939af0d (diff)
downloadapr-b3133948c7f22999745ca41a172938b6e1ca3cea.tar.gz
Had inverted read/write.
This is why you don't do things like this, in/out is ambiguous. (you write things in-to a pipe and read things out-of a pipe, well except in APR ;-) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584489 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_file_io.h')
-rw-r--r--include/apr_file_io.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/apr_file_io.h b/include/apr_file_io.h
index 2c0962ee1..e37f95890 100644
--- a/include/apr_file_io.h
+++ b/include/apr_file_io.h
@@ -633,8 +633,8 @@ APR_DECLARE(apr_status_t) apr_file_seek(apr_file_t *thefile,
/**
* Create an anonymous pipe.
- * @param in The newly created pipe's file for writing.
- * @param out The newly created pipe's file for reading.
+ * @param in The newly created pipe's file for reading.
+ * @param out The newly created pipe's file for writing.
* @param pool The pool to operate on.
* @remark By default, the returned file descriptors will be inherited
* by child processes created using apr_proc_create(). This can be
@@ -650,8 +650,8 @@ APR_DECLARE(apr_status_t) apr_file_pipe_create(apr_file_t **in,
/**
* Create an anonymous pipe which portably supports async timeout options.
- * @param in The newly created pipe's file for writing.
- * @param out The newly created pipe's file for reading.
+ * @param in The newly created pipe's file for reading.
+ * @param out The newly created pipe's file for writing.
* @param blocking one of these values defined in apr_thread_proc.h;
* <pre>
* APR_FULL_BLOCK