apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r391595 - /apr/apr/trunk/include/apr_file_io.h
Date Wed, 05 Apr 2006 11:58:28 GMT
Author: jorton
Date: Wed Apr  5 04:58:27 2006
New Revision: 391595

URL: http://svn.apache.org/viewcvs?rev=391595&view=rev
Log:
Docstring fix.

* include/apr_file_io.h (apr_file_open, apr_file_pipe_create): Clarify
the default inheritance rules.

Submitted by: Peter N. Lundblad <peter famlundblad.se>

Modified:
    apr/apr/trunk/include/apr_file_io.h

Modified: apr/apr/trunk/include/apr_file_io.h
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/include/apr_file_io.h?rev=391595&r1=391594&r2=391595&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_file_io.h (original)
+++ apr/apr/trunk/include/apr_file_io.h Wed Apr  5 04:58:27 2006
@@ -213,6 +213,9 @@
  * @param pool The pool to use.
  * @remark If perm is APR_OS_DEFAULT and the file is being created,
  * appropriate default permissions will be used.
+ * @remark By default, the returned file descriptor will not be
+ * inherited by child processes created by apr_proc_create().  This
+ * can be changed using apr_file_inherit_set().
  */
 APR_DECLARE(apr_status_t) apr_file_open(apr_file_t **newf, const char *fname,
                                         apr_int32_t flag, apr_fileperms_t perm,
@@ -618,6 +621,9 @@
  * @param in The file descriptor to use as input to the pipe.
  * @param out The file descriptor to use as output from the pipe.
  * @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
+ * changed using apr_file_inherit_unset().
  */
 APR_DECLARE(apr_status_t) apr_file_pipe_create(apr_file_t **in, 
                                                apr_file_t **out,



Mime
View raw message