apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r598101 [27/31] - in /apr/site/trunk/docs/docs: apr-util/0.9/ apr-util/1.2/ apr-util/trunk/ apr/0.9/ apr/1.2/ apr/trunk/
Date Mon, 26 Nov 2007 01:06:54 GMT
Modified: apr/site/trunk/docs/docs/apr/trunk/apr__file__io_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/trunk/apr__file__io_8h-source.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/trunk/apr__file__io_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/trunk/apr__file__io_8h-source.html Sun Nov 25 17:05:47 2007
@@ -98,276 +98,276 @@
 <a name="l00075"></a>00075 <span class="comment">                                             file should support</span>
 <a name="l00076"></a>00076 <span class="comment">                                             apr_socket_sendfile operation */</span>
 <a name="l00077"></a><a class="code" href="group__apr__file__open__flags.html#gf6cfaa4789e6264afd186235f0adbc22">00077</a> <span class="preprocessor">#define APR_FOPEN_LARGEFILE   0x04000 </span><span class="comment">/**&lt; Platform dependent flag to enable</span>
-<a name="l00078"></a>00078 <span class="comment">                                         large file support; WARNING see</span>
-<a name="l00079"></a>00079 <span class="comment">                                         below. */</span>
-<a name="l00080"></a>00080 <span class="comment">/* backcompat */</span>
-<a name="l00081"></a><a class="code" href="group__apr__file__open__flags.html#g0021db78d799d1c8825b701c7efee483">00081</a> <span class="preprocessor">#define APR_READ             APR_FOPEN_READ       </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_READ */</span>
-<a name="l00082"></a><a class="code" href="group__apr__file__open__flags.html#g3e427e53aceb1ccdb078d9a03cd63d01">00082</a> <span class="preprocessor">#define APR_WRITE            APR_FOPEN_WRITE      </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_WRITE */</span>   
-<a name="l00083"></a><a class="code" href="group__apr__file__open__flags.html#gc210e96bc821dbaa83c326e775dad028">00083</a> <span class="preprocessor">#define APR_CREATE           APR_FOPEN_CREATE     </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_CREATE */</span>   
-<a name="l00084"></a><a class="code" href="group__apr__file__open__flags.html#g26d3de2bae5c90e5124869f56c141c2e">00084</a> <span class="preprocessor">#define APR_APPEND           APR_FOPEN_APPEND     </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_APPEND */</span>   
-<a name="l00085"></a><a class="code" href="group__apr__file__open__flags.html#ga8898fdebd69d3a64286731b713a6dc9">00085</a> <span class="preprocessor">#define APR_TRUNCATE         APR_FOPEN_TRUNCATE   </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_TRUNCATE */</span>   
-<a name="l00086"></a><a class="code" href="group__apr__file__open__flags.html#g0e7556bac0cc0d1dafdf38952a4e4015">00086</a> <span class="preprocessor">#define APR_BINARY           APR_FOPEN_BINARY     </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_BINARY */</span>   
-<a name="l00087"></a><a class="code" href="group__apr__file__open__flags.html#g209c26b2b903cc23417f6781d4edf891">00087</a> <span class="preprocessor">#define APR_EXCL             APR_FOPEN_EXCL       </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_EXCL */</span>   
-<a name="l00088"></a><a class="code" href="group__apr__file__open__flags.html#g6edc818199e8b90e3dabf97c42a27158">00088</a> <span class="preprocessor">#define APR_BUFFERED         APR_FOPEN_BUFFERED   </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_BUFFERED */</span>   
-<a name="l00089"></a><a class="code" href="group__apr__file__open__flags.html#gebc7f034a72dffe64858b1b9451994ff">00089</a> <span class="preprocessor">#define APR_DELONCLOSE       APR_FOPEN_DELONCLOSE </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_DELONCLOSE */</span>   
-<a name="l00090"></a><a class="code" href="group__apr__file__open__flags.html#ga9120c0e395d8a0e640b5eafa8f11cce">00090</a> <span class="preprocessor">#define APR_XTHREAD          APR_FOPEN_XTHREAD    </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_XTHREAD */</span>   
-<a name="l00091"></a><a class="code" href="group__apr__file__open__flags.html#g41277154f4f754a22287ed90e9466811">00091</a> <span class="preprocessor">#define APR_SHARELOCK        APR_FOPEN_SHARELOCK  </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_SHARELOCK */</span>   
-<a name="l00092"></a><a class="code" href="group__apr__file__open__flags.html#g3ef1061dbb3adf595701bd12edb062f9">00092</a> <span class="preprocessor">#define APR_FILE_NOCLEANUP   APR_FOPEN_NOCLEANUP  </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_NOCLEANUP */</span>   
-<a name="l00093"></a><a class="code" href="group__apr__file__open__flags.html#g17e216aadb23254580258889e10c53f3">00093</a> <span class="preprocessor">#define APR_SENDFILE_ENABLED APR_FOPEN_SENDFILE_ENABLED </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_SENDFILE_ENABLED */</span>   
-<a name="l00094"></a><a class="code" href="group__apr__file__open__flags.html#gafa04fd4ec71910a5d7af1c7f5596bad">00094</a> <span class="preprocessor">#define APR_LARGEFILE        APR_FOPEN_LARGEFILE  </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_LARGEFILE */</span>   
-<a name="l00095"></a>00095 <span class="comment"></span>
-<a name="l00096"></a>00096 <span class="comment">/** @warning The APR_FOPEN_LARGEFILE flag only has effect on some</span>
-<a name="l00097"></a>00097 <span class="comment"> * platforms where sizeof(apr_off_t) == 4.  Where implemented, it</span>
-<a name="l00098"></a>00098 <span class="comment"> * allows opening and writing to a file which exceeds the size which</span>
-<a name="l00099"></a>00099 <span class="comment"> * can be represented by apr_off_t (2 gigabytes).  When a file's size</span>
-<a name="l00100"></a>00100 <span class="comment"> * does exceed 2Gb, apr_file_info_get() will fail with an error on the</span>
-<a name="l00101"></a>00101 <span class="comment"> * descriptor, likewise apr_stat()/apr_lstat() will fail on the</span>
-<a name="l00102"></a>00102 <span class="comment"> * filename.  apr_dir_read() will fail with APR_INCOMPLETE on a</span>
-<a name="l00103"></a>00103 <span class="comment"> * directory entry for a large file depending on the particular</span>
-<a name="l00104"></a>00104 <span class="comment"> * APR_FINFO_* flags.  Generally, it is not recommended to use this</span>
-<a name="l00105"></a>00105 <span class="comment"> * flag. */</span>
-<a name="l00106"></a>00106 <span class="comment"></span>
-<a name="l00107"></a>00107 <span class="comment">/** @} */</span>
-<a name="l00108"></a>00108 <span class="comment"></span>
-<a name="l00109"></a>00109 <span class="comment">/**</span>
-<a name="l00110"></a>00110 <span class="comment"> * @defgroup apr_file_seek_flags File Seek Flags</span>
-<a name="l00111"></a>00111 <span class="comment"> * @{</span>
-<a name="l00112"></a>00112 <span class="comment"> */</span>
-<a name="l00113"></a>00113 
-<a name="l00114"></a>00114 <span class="comment">/* flags for apr_file_seek */</span><span class="comment"></span>
-<a name="l00115"></a>00115 <span class="comment">/** Set the file position */</span>
-<a name="l00116"></a><a class="code" href="group__apr__file__seek__flags.html#g2fdf78845c897f69451d49e1e2b90ac9">00116</a> <span class="preprocessor">#define APR_SET SEEK_SET</span>
-<a name="l00117"></a>00117 <span class="preprocessor"></span><span class="comment">/** Current */</span>
-<a name="l00118"></a><a class="code" href="group__apr__file__seek__flags.html#ge17abc53fea00bfd51e184017113e250">00118</a> <span class="preprocessor">#define APR_CUR SEEK_CUR</span>
-<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="comment">/** Go to end of file */</span>
-<a name="l00120"></a><a class="code" href="group__apr__file__seek__flags.html#g438f3568be799d1e4bbd19492ca47d22">00120</a> <span class="preprocessor">#define APR_END SEEK_END</span>
-<a name="l00121"></a>00121 <span class="preprocessor"></span><span class="comment">/** @} */</span>
-<a name="l00122"></a>00122 <span class="comment"></span>
-<a name="l00123"></a>00123 <span class="comment">/**</span>
-<a name="l00124"></a>00124 <span class="comment"> * @defgroup apr_file_attrs_set_flags File Attribute Flags</span>
-<a name="l00125"></a>00125 <span class="comment"> * @{</span>
-<a name="l00126"></a>00126 <span class="comment"> */</span>
-<a name="l00127"></a>00127 
-<a name="l00128"></a>00128 <span class="comment">/* flags for apr_file_attrs_set */</span>
-<a name="l00129"></a><a class="code" href="group__apr__file__attrs__set__flags.html#g333f2c798495cfb95ee624e11c862e38">00129</a> <span class="preprocessor">#define APR_FILE_ATTR_READONLY   0x01          </span><span class="comment">/**&lt; File is read-only */</span>
-<a name="l00130"></a><a class="code" href="group__apr__file__attrs__set__flags.html#g51346f433e354f0bc8722388b6b275fd">00130</a> <span class="preprocessor">#define APR_FILE_ATTR_EXECUTABLE 0x02          </span><span class="comment">/**&lt; File is executable */</span>
-<a name="l00131"></a><a class="code" href="group__apr__file__attrs__set__flags.html#g68c188c0e56b9abdef3c97ffd913c5aa">00131</a> <span class="preprocessor">#define APR_FILE_ATTR_HIDDEN     0x04          </span><span class="comment">/**&lt; File is hidden */</span>
-<a name="l00132"></a>00132 <span class="comment">/** @} */</span>
-<a name="l00133"></a>00133 <span class="comment"></span>
-<a name="l00134"></a>00134 <span class="comment">/**</span>
-<a name="l00135"></a>00135 <span class="comment"> * @defgroup apr_file_writev{_full} max iovec size</span>
-<a name="l00136"></a>00136 <span class="comment"> * @{</span>
-<a name="l00137"></a>00137 <span class="comment"> */</span>
-<a name="l00138"></a>00138 <span class="preprocessor">#if defined(DOXYGEN)</span>
-<a name="l00139"></a><a class="code" href="group__apr__file__writev.html#ge04a4721139b2b252ea20e68883da4b4">00139</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_MAX_IOVEC_SIZE 1024                </span><span class="comment">/**&lt; System dependent maximum </span>
-<a name="l00140"></a>00140 <span class="comment">                                                    size of an iovec array */</span>
-<a name="l00141"></a>00141 <span class="preprocessor">#elif defined(IOV_MAX)</span>
-<a name="l00142"></a>00142 <span class="preprocessor"></span><span class="preprocessor">#define APR_MAX_IOVEC_SIZE IOV_MAX</span>
-<a name="l00143"></a>00143 <span class="preprocessor"></span><span class="preprocessor">#elif defined(MAX_IOVEC)</span>
-<a name="l00144"></a>00144 <span class="preprocessor"></span><span class="preprocessor">#define APR_MAX_IOVEC_SIZE MAX_IOVEC</span>
-<a name="l00145"></a>00145 <span class="preprocessor"></span><span class="preprocessor">#else</span>
-<a name="l00146"></a>00146 <span class="preprocessor"></span><span class="preprocessor">#define APR_MAX_IOVEC_SIZE 1024</span>
-<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
-<a name="l00148"></a>00148 <span class="preprocessor"></span><span class="comment">/** @} */</span>
-<a name="l00149"></a>00149 <span class="comment"></span>
-<a name="l00150"></a>00150 <span class="comment">/** File attributes */</span>
-<a name="l00151"></a><a class="code" href="group__apr__file__io.html#g11fbee5a7a3f3d45fff5c31df0db9737">00151</a> <span class="keyword">typedef</span> apr_uint32_t <a class="code" href="group__apr__file__io.html#g11fbee5a7a3f3d45fff5c31df0db9737">apr_fileattrs_t</a>;
-<a name="l00152"></a>00152 <span class="comment"></span>
-<a name="l00153"></a>00153 <span class="comment">/** Type to pass as whence argument to apr_file_seek. */</span>
-<a name="l00154"></a><a class="code" href="group__apr__file__io.html#g8eecd44975906042e0e369771802a145">00154</a> <span class="keyword">typedef</span> <span class="keywordtype">int</span>       <a class="code" href="group__apr__file__io.html#g8eecd44975906042e0e369771802a145">apr_seek_where_t</a>;
-<a name="l00155"></a>00155 <span class="comment"></span>
-<a name="l00156"></a>00156 <span class="comment">/**</span>
-<a name="l00157"></a>00157 <span class="comment"> * Structure for referencing files.</span>
-<a name="l00158"></a>00158 <span class="comment"> */</span>
-<a name="l00159"></a><a class="code" href="group__apr__file__io.html#ga46e4763ac375ea3c7a43ba6f6099e22">00159</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__apr__file__io.html#ga46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a>         apr_file_t;
-<a name="l00160"></a>00160 
-<a name="l00161"></a>00161 <span class="comment">/* File lock types/flags */</span><span class="comment"></span>
-<a name="l00162"></a>00162 <span class="comment">/**</span>
-<a name="l00163"></a>00163 <span class="comment"> * @defgroup apr_file_lock_types File Lock Types</span>
-<a name="l00164"></a>00164 <span class="comment"> * @{</span>
-<a name="l00165"></a>00165 <span class="comment"> */</span>
-<a name="l00166"></a>00166 
-<a name="l00167"></a><a class="code" href="group__apr__file__lock__types.html#gba177fe81cd70b389753ad2096b2ce7c">00167</a> <span class="preprocessor">#define APR_FLOCK_SHARED        1       </span><span class="comment">/**&lt; Shared lock. More than one process</span>
-<a name="l00168"></a>00168 <span class="comment">                                           or thread can hold a shared lock</span>
-<a name="l00169"></a>00169 <span class="comment">                                           at any given time. Essentially,</span>
-<a name="l00170"></a>00170 <span class="comment">                                           this is a "read lock", preventing</span>
-<a name="l00171"></a>00171 <span class="comment">                                           writers from establishing an</span>
-<a name="l00172"></a>00172 <span class="comment">                                           exclusive lock. */</span>
-<a name="l00173"></a><a class="code" href="group__apr__file__lock__types.html#gfbf0caa093b99bdf11e25360b9099852">00173</a> <span class="preprocessor">#define APR_FLOCK_EXCLUSIVE     2       </span><span class="comment">/**&lt; Exclusive lock. Only one process</span>
-<a name="l00174"></a>00174 <span class="comment">                                           may hold an exclusive lock at any</span>
-<a name="l00175"></a>00175 <span class="comment">                                           given time. This is analogous to</span>
-<a name="l00176"></a>00176 <span class="comment">                                           a "write lock". */</span>
-<a name="l00177"></a>00177 
-<a name="l00178"></a><a class="code" href="group__apr__file__lock__types.html#g40777e364fb20bb9a9ee57e74b19c13d">00178</a> <span class="preprocessor">#define APR_FLOCK_TYPEMASK      0x000F  </span><span class="comment">/**&lt; mask to extract lock type */</span>
-<a name="l00179"></a><a class="code" href="group__apr__file__lock__types.html#gb327fa0250e19006f20d5ec65fe7f22a">00179</a> <span class="preprocessor">#define APR_FLOCK_NONBLOCK      0x0010  </span><span class="comment">/**&lt; do not block while acquiring the</span>
-<a name="l00180"></a>00180 <span class="comment">                                           file lock */</span>
-<a name="l00181"></a>00181 <span class="comment">/** @} */</span>
-<a name="l00182"></a>00182 <span class="comment"></span>
-<a name="l00183"></a>00183 <span class="comment">/**</span>
-<a name="l00184"></a>00184 <span class="comment"> * Open the specified file.</span>
-<a name="l00185"></a>00185 <span class="comment"> * @param newf The opened file descriptor.</span>
-<a name="l00186"></a>00186 <span class="comment"> * @param fname The full path to the file (using / on all systems)</span>
-<a name="l00187"></a>00187 <span class="comment"> * @param flag Or'ed value of:</span>
-<a name="l00188"></a>00188 <span class="comment"> * &lt;PRE&gt;</span>
-<a name="l00189"></a>00189 <span class="comment"> *         APR_READ              open for reading</span>
-<a name="l00190"></a>00190 <span class="comment"> *         APR_WRITE             open for writing</span>
-<a name="l00191"></a>00191 <span class="comment"> *         APR_CREATE            create the file if not there</span>
-<a name="l00192"></a>00192 <span class="comment"> *         APR_APPEND            file ptr is set to end prior to all writes</span>
-<a name="l00193"></a>00193 <span class="comment"> *         APR_TRUNCATE          set length to zero if file exists</span>
-<a name="l00194"></a>00194 <span class="comment"> *         APR_BINARY            not a text file (This flag is ignored on </span>
-<a name="l00195"></a>00195 <span class="comment"> *                               UNIX because it has no meaning)</span>
-<a name="l00196"></a>00196 <span class="comment"> *         APR_BUFFERED          buffer the data.  Default is non-buffered</span>
-<a name="l00197"></a>00197 <span class="comment"> *         APR_EXCL              return error if APR_CREATE and file exists</span>
-<a name="l00198"></a>00198 <span class="comment"> *         APR_DELONCLOSE        delete the file after closing.</span>
-<a name="l00199"></a>00199 <span class="comment"> *         APR_XTHREAD           Platform dependent tag to open the file</span>
-<a name="l00200"></a>00200 <span class="comment"> *                               for use across multiple threads</span>
-<a name="l00201"></a>00201 <span class="comment"> *         APR_SHARELOCK         Platform dependent support for higher</span>
-<a name="l00202"></a>00202 <span class="comment"> *                               level locked read/write access to support</span>
-<a name="l00203"></a>00203 <span class="comment"> *                               writes across process/machines</span>
-<a name="l00204"></a>00204 <span class="comment"> *         APR_FILE_NOCLEANUP    Do not register a cleanup with the pool </span>
-<a name="l00205"></a>00205 <span class="comment"> *                               passed in on the &lt;EM&gt;pool&lt;/EM&gt; argument (see below).</span>
-<a name="l00206"></a>00206 <span class="comment"> *                               The apr_os_file_t handle in apr_file_t will not</span>
-<a name="l00207"></a>00207 <span class="comment"> *                               be closed when the pool is destroyed.</span>
-<a name="l00208"></a>00208 <span class="comment"> *         APR_SENDFILE_ENABLED  Open with appropriate platform semantics</span>
-<a name="l00209"></a>00209 <span class="comment"> *                               for sendfile operations.  Advisory only,</span>
-<a name="l00210"></a>00210 <span class="comment"> *                               apr_socket_sendfile does not check this flag.</span>
-<a name="l00211"></a>00211 <span class="comment"> * &lt;/PRE&gt;</span>
-<a name="l00212"></a>00212 <span class="comment"> * @param perm Access permissions for file.</span>
-<a name="l00213"></a>00213 <span class="comment"> * @param pool The pool to use.</span>
-<a name="l00214"></a>00214 <span class="comment"> * @remark If perm is APR_OS_DEFAULT and the file is being created,</span>
-<a name="l00215"></a>00215 <span class="comment"> * appropriate default permissions will be used.</span>
-<a name="l00216"></a>00216 <span class="comment"> * @remark By default, the returned file descriptor will not be</span>
-<a name="l00217"></a>00217 <span class="comment"> * inherited by child processes created by apr_proc_create().  This</span>
-<a name="l00218"></a>00218 <span class="comment"> * can be changed using apr_file_inherit_set().</span>
-<a name="l00219"></a>00219 <span class="comment"> */</span>
-<a name="l00220"></a>00220 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#gbda14cbf242fb4fe99055434213e5446">apr_file_open</a>(apr_file_t **newf, const <span class="keywordtype">char</span> *fname,
-<a name="l00221"></a>00221                                         apr_int32_t flag, <a class="code" href="group__apr__file__info.html#g3af19c4c47007169064a70f9351bc7d8">apr_fileperms_t</a> perm,
-<a name="l00222"></a>00222                                         <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
-<a name="l00223"></a>00223 <span class="comment"></span>
-<a name="l00224"></a>00224 <span class="comment">/**</span>
-<a name="l00225"></a>00225 <span class="comment"> * Close the specified file.</span>
-<a name="l00226"></a>00226 <span class="comment"> * @param file The file descriptor to close.</span>
-<a name="l00227"></a>00227 <span class="comment"> */</span>
-<a name="l00228"></a>00228 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g5607bce1c4c798ceb6c8475a998a81a1">apr_file_close</a>(apr_file_t *file);
-<a name="l00229"></a>00229 <span class="comment"></span>
-<a name="l00230"></a>00230 <span class="comment">/**</span>
-<a name="l00231"></a>00231 <span class="comment"> * Delete the specified file.</span>
-<a name="l00232"></a>00232 <span class="comment"> * @param path The full path to the file (using / on all systems)</span>
-<a name="l00233"></a>00233 <span class="comment"> * @param pool The pool to use.</span>
-<a name="l00234"></a>00234 <span class="comment"> * @remark If the file is open, it won't be removed until all</span>
-<a name="l00235"></a>00235 <span class="comment"> * instances are closed.</span>
-<a name="l00236"></a>00236 <span class="comment"> */</span>
-<a name="l00237"></a>00237 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g211c40be82f8bf8b8d7dce5afca5500b">apr_file_remove</a>(const <span class="keywordtype">char</span> *path, <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00078"></a>00078 <span class="comment">                                       * large file support, see WARNING below</span>
+<a name="l00079"></a>00079 <span class="comment">                                       */</span>
+<a name="l00080"></a><a class="code" href="group__apr__file__open__flags.html#g0d155e9bb7fbf1a5cd4e84b5ede059f4">00080</a> <span class="preprocessor">#define APR_FOPEN_SPARSE      0x08000 </span><span class="comment">/**&lt; Platform dependent flag to enable</span>
+<a name="l00081"></a>00081 <span class="comment">                                       * sparse file support, see WARNING below</span>
+<a name="l00082"></a>00082 <span class="comment">                                       */</span>
+<a name="l00083"></a>00083 
+<a name="l00084"></a>00084 <span class="comment">/* backcompat */</span>
+<a name="l00085"></a><a class="code" href="group__apr__file__open__flags.html#g0021db78d799d1c8825b701c7efee483">00085</a> <span class="preprocessor">#define APR_READ             APR_FOPEN_READ       </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_READ */</span>
+<a name="l00086"></a><a class="code" href="group__apr__file__open__flags.html#g3e427e53aceb1ccdb078d9a03cd63d01">00086</a> <span class="preprocessor">#define APR_WRITE            APR_FOPEN_WRITE      </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_WRITE */</span>   
+<a name="l00087"></a><a class="code" href="group__apr__file__open__flags.html#gc210e96bc821dbaa83c326e775dad028">00087</a> <span class="preprocessor">#define APR_CREATE           APR_FOPEN_CREATE     </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_CREATE */</span>   
+<a name="l00088"></a><a class="code" href="group__apr__file__open__flags.html#g26d3de2bae5c90e5124869f56c141c2e">00088</a> <span class="preprocessor">#define APR_APPEND           APR_FOPEN_APPEND     </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_APPEND */</span>   
+<a name="l00089"></a><a class="code" href="group__apr__file__open__flags.html#ga8898fdebd69d3a64286731b713a6dc9">00089</a> <span class="preprocessor">#define APR_TRUNCATE         APR_FOPEN_TRUNCATE   </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_TRUNCATE */</span>   
+<a name="l00090"></a><a class="code" href="group__apr__file__open__flags.html#g0e7556bac0cc0d1dafdf38952a4e4015">00090</a> <span class="preprocessor">#define APR_BINARY           APR_FOPEN_BINARY     </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_BINARY */</span>   
+<a name="l00091"></a><a class="code" href="group__apr__file__open__flags.html#g209c26b2b903cc23417f6781d4edf891">00091</a> <span class="preprocessor">#define APR_EXCL             APR_FOPEN_EXCL       </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_EXCL */</span>   
+<a name="l00092"></a><a class="code" href="group__apr__file__open__flags.html#g6edc818199e8b90e3dabf97c42a27158">00092</a> <span class="preprocessor">#define APR_BUFFERED         APR_FOPEN_BUFFERED   </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_BUFFERED */</span>   
+<a name="l00093"></a><a class="code" href="group__apr__file__open__flags.html#gebc7f034a72dffe64858b1b9451994ff">00093</a> <span class="preprocessor">#define APR_DELONCLOSE       APR_FOPEN_DELONCLOSE </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_DELONCLOSE */</span>   
+<a name="l00094"></a><a class="code" href="group__apr__file__open__flags.html#ga9120c0e395d8a0e640b5eafa8f11cce">00094</a> <span class="preprocessor">#define APR_XTHREAD          APR_FOPEN_XTHREAD    </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_XTHREAD */</span>   
+<a name="l00095"></a><a class="code" href="group__apr__file__open__flags.html#g41277154f4f754a22287ed90e9466811">00095</a> <span class="preprocessor">#define APR_SHARELOCK        APR_FOPEN_SHARELOCK  </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_SHARELOCK */</span>   
+<a name="l00096"></a><a class="code" href="group__apr__file__open__flags.html#g3ef1061dbb3adf595701bd12edb062f9">00096</a> <span class="preprocessor">#define APR_FILE_NOCLEANUP   APR_FOPEN_NOCLEANUP  </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_NOCLEANUP */</span>   
+<a name="l00097"></a><a class="code" href="group__apr__file__open__flags.html#g17e216aadb23254580258889e10c53f3">00097</a> <span class="preprocessor">#define APR_SENDFILE_ENABLED APR_FOPEN_SENDFILE_ENABLED </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_SENDFILE_ENABLED */</span>   
+<a name="l00098"></a><a class="code" href="group__apr__file__open__flags.html#gafa04fd4ec71910a5d7af1c7f5596bad">00098</a> <span class="preprocessor">#define APR_LARGEFILE        APR_FOPEN_LARGEFILE  </span><span class="comment">/**&lt; @deprecated @see APR_FOPEN_LARGEFILE */</span>   
+<a name="l00099"></a>00099 <span class="comment"></span>
+<a name="l00100"></a>00100 <span class="comment">/** @warning APR_FOPEN_LARGEFILE flag only has effect on some</span>
+<a name="l00101"></a>00101 <span class="comment"> * platforms where sizeof(apr_off_t) == 4.  Where implemented, it</span>
+<a name="l00102"></a>00102 <span class="comment"> * allows opening and writing to a file which exceeds the size which</span>
+<a name="l00103"></a>00103 <span class="comment"> * can be represented by apr_off_t (2 gigabytes).  When a file's size</span>
+<a name="l00104"></a>00104 <span class="comment"> * does exceed 2Gb, apr_file_info_get() will fail with an error on the</span>
+<a name="l00105"></a>00105 <span class="comment"> * descriptor, likewise apr_stat()/apr_lstat() will fail on the</span>
+<a name="l00106"></a>00106 <span class="comment"> * filename.  apr_dir_read() will fail with APR_INCOMPLETE on a</span>
+<a name="l00107"></a>00107 <span class="comment"> * directory entry for a large file depending on the particular</span>
+<a name="l00108"></a>00108 <span class="comment"> * APR_FINFO_* flags.  Generally, it is not recommended to use this</span>
+<a name="l00109"></a>00109 <span class="comment"> * flag.</span>
+<a name="l00110"></a>00110 <span class="comment"> *</span>
+<a name="l00111"></a>00111 <span class="comment"> * @warning APR_FOPEN_SPARSE may, depending on platform, convert a</span>
+<a name="l00112"></a>00112 <span class="comment"> * normal file to a sparse file.  Some applications may be unable</span>
+<a name="l00113"></a>00113 <span class="comment"> * to decipher a sparse file, so it's critical that the sparse file</span>
+<a name="l00114"></a>00114 <span class="comment"> * flag should only be used for files accessed only by APR or other</span>
+<a name="l00115"></a>00115 <span class="comment"> * applications known to be able to decipher them.  APR does not</span>
+<a name="l00116"></a>00116 <span class="comment"> * guarentee that it will compress the file into sparse segments</span>
+<a name="l00117"></a>00117 <span class="comment"> * if it was previously created and written without the sparse flag.</span>
+<a name="l00118"></a>00118 <span class="comment"> * On platforms which do not understand, or on file systems which</span>
+<a name="l00119"></a>00119 <span class="comment"> * cannot handle sparse files, the flag is ignored by apr_file_open().</span>
+<a name="l00120"></a>00120 <span class="comment"> */</span>
+<a name="l00121"></a>00121 <span class="comment"></span>
+<a name="l00122"></a>00122 <span class="comment">/** @} */</span>
+<a name="l00123"></a>00123 <span class="comment"></span>
+<a name="l00124"></a>00124 <span class="comment">/**</span>
+<a name="l00125"></a>00125 <span class="comment"> * @defgroup apr_file_seek_flags File Seek Flags</span>
+<a name="l00126"></a>00126 <span class="comment"> * @{</span>
+<a name="l00127"></a>00127 <span class="comment"> */</span>
+<a name="l00128"></a>00128 
+<a name="l00129"></a>00129 <span class="comment">/* flags for apr_file_seek */</span><span class="comment"></span>
+<a name="l00130"></a>00130 <span class="comment">/** Set the file position */</span>
+<a name="l00131"></a><a class="code" href="group__apr__file__seek__flags.html#g2fdf78845c897f69451d49e1e2b90ac9">00131</a> <span class="preprocessor">#define APR_SET SEEK_SET</span>
+<a name="l00132"></a>00132 <span class="preprocessor"></span><span class="comment">/** Current */</span>
+<a name="l00133"></a><a class="code" href="group__apr__file__seek__flags.html#ge17abc53fea00bfd51e184017113e250">00133</a> <span class="preprocessor">#define APR_CUR SEEK_CUR</span>
+<a name="l00134"></a>00134 <span class="preprocessor"></span><span class="comment">/** Go to end of file */</span>
+<a name="l00135"></a><a class="code" href="group__apr__file__seek__flags.html#g438f3568be799d1e4bbd19492ca47d22">00135</a> <span class="preprocessor">#define APR_END SEEK_END</span>
+<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="comment">/** @} */</span>
+<a name="l00137"></a>00137 <span class="comment"></span>
+<a name="l00138"></a>00138 <span class="comment">/**</span>
+<a name="l00139"></a>00139 <span class="comment"> * @defgroup apr_file_attrs_set_flags File Attribute Flags</span>
+<a name="l00140"></a>00140 <span class="comment"> * @{</span>
+<a name="l00141"></a>00141 <span class="comment"> */</span>
+<a name="l00142"></a>00142 
+<a name="l00143"></a>00143 <span class="comment">/* flags for apr_file_attrs_set */</span>
+<a name="l00144"></a><a class="code" href="group__apr__file__attrs__set__flags.html#g333f2c798495cfb95ee624e11c862e38">00144</a> <span class="preprocessor">#define APR_FILE_ATTR_READONLY   0x01          </span><span class="comment">/**&lt; File is read-only */</span>
+<a name="l00145"></a><a class="code" href="group__apr__file__attrs__set__flags.html#g51346f433e354f0bc8722388b6b275fd">00145</a> <span class="preprocessor">#define APR_FILE_ATTR_EXECUTABLE 0x02          </span><span class="comment">/**&lt; File is executable */</span>
+<a name="l00146"></a><a class="code" href="group__apr__file__attrs__set__flags.html#g68c188c0e56b9abdef3c97ffd913c5aa">00146</a> <span class="preprocessor">#define APR_FILE_ATTR_HIDDEN     0x04          </span><span class="comment">/**&lt; File is hidden */</span>
+<a name="l00147"></a>00147 <span class="comment">/** @} */</span>
+<a name="l00148"></a>00148 <span class="comment"></span>
+<a name="l00149"></a>00149 <span class="comment">/**</span>
+<a name="l00150"></a>00150 <span class="comment"> * @defgroup apr_file_writev{_full} max iovec size</span>
+<a name="l00151"></a>00151 <span class="comment"> * @{</span>
+<a name="l00152"></a>00152 <span class="comment"> */</span>
+<a name="l00153"></a>00153 <span class="preprocessor">#if defined(DOXYGEN)</span>
+<a name="l00154"></a><a class="code" href="group__apr__file__writev.html#ge04a4721139b2b252ea20e68883da4b4">00154</a> <span class="preprocessor"></span><span class="preprocessor">#define APR_MAX_IOVEC_SIZE 1024                </span><span class="comment">/**&lt; System dependent maximum </span>
+<a name="l00155"></a>00155 <span class="comment">                                                    size of an iovec array */</span>
+<a name="l00156"></a>00156 <span class="preprocessor">#elif defined(IOV_MAX)</span>
+<a name="l00157"></a>00157 <span class="preprocessor"></span><span class="preprocessor">#define APR_MAX_IOVEC_SIZE IOV_MAX</span>
+<a name="l00158"></a>00158 <span class="preprocessor"></span><span class="preprocessor">#elif defined(MAX_IOVEC)</span>
+<a name="l00159"></a>00159 <span class="preprocessor"></span><span class="preprocessor">#define APR_MAX_IOVEC_SIZE MAX_IOVEC</span>
+<a name="l00160"></a>00160 <span class="preprocessor"></span><span class="preprocessor">#else</span>
+<a name="l00161"></a>00161 <span class="preprocessor"></span><span class="preprocessor">#define APR_MAX_IOVEC_SIZE 1024</span>
+<a name="l00162"></a>00162 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+<a name="l00163"></a>00163 <span class="preprocessor"></span><span class="comment">/** @} */</span>
+<a name="l00164"></a>00164 <span class="comment"></span>
+<a name="l00165"></a>00165 <span class="comment">/** File attributes */</span>
+<a name="l00166"></a><a class="code" href="group__apr__file__io.html#g11fbee5a7a3f3d45fff5c31df0db9737">00166</a> <span class="keyword">typedef</span> apr_uint32_t <a class="code" href="group__apr__file__io.html#g11fbee5a7a3f3d45fff5c31df0db9737">apr_fileattrs_t</a>;
+<a name="l00167"></a>00167 <span class="comment"></span>
+<a name="l00168"></a>00168 <span class="comment">/** Type to pass as whence argument to apr_file_seek. */</span>
+<a name="l00169"></a><a class="code" href="group__apr__file__io.html#g8eecd44975906042e0e369771802a145">00169</a> <span class="keyword">typedef</span> <span class="keywordtype">int</span>       <a class="code" href="group__apr__file__io.html#g8eecd44975906042e0e369771802a145">apr_seek_where_t</a>;
+<a name="l00170"></a>00170 <span class="comment"></span>
+<a name="l00171"></a>00171 <span class="comment">/**</span>
+<a name="l00172"></a>00172 <span class="comment"> * Structure for referencing files.</span>
+<a name="l00173"></a>00173 <span class="comment"> */</span>
+<a name="l00174"></a><a class="code" href="group__apr__file__io.html#ga46e4763ac375ea3c7a43ba6f6099e22">00174</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__apr__file__io.html#ga46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a>         apr_file_t;
+<a name="l00175"></a>00175 
+<a name="l00176"></a>00176 <span class="comment">/* File lock types/flags */</span><span class="comment"></span>
+<a name="l00177"></a>00177 <span class="comment">/**</span>
+<a name="l00178"></a>00178 <span class="comment"> * @defgroup apr_file_lock_types File Lock Types</span>
+<a name="l00179"></a>00179 <span class="comment"> * @{</span>
+<a name="l00180"></a>00180 <span class="comment"> */</span>
+<a name="l00181"></a>00181 
+<a name="l00182"></a><a class="code" href="group__apr__file__lock__types.html#gba177fe81cd70b389753ad2096b2ce7c">00182</a> <span class="preprocessor">#define APR_FLOCK_SHARED        1       </span><span class="comment">/**&lt; Shared lock. More than one process</span>
+<a name="l00183"></a>00183 <span class="comment">                                           or thread can hold a shared lock</span>
+<a name="l00184"></a>00184 <span class="comment">                                           at any given time. Essentially,</span>
+<a name="l00185"></a>00185 <span class="comment">                                           this is a "read lock", preventing</span>
+<a name="l00186"></a>00186 <span class="comment">                                           writers from establishing an</span>
+<a name="l00187"></a>00187 <span class="comment">                                           exclusive lock. */</span>
+<a name="l00188"></a><a class="code" href="group__apr__file__lock__types.html#gfbf0caa093b99bdf11e25360b9099852">00188</a> <span class="preprocessor">#define APR_FLOCK_EXCLUSIVE     2       </span><span class="comment">/**&lt; Exclusive lock. Only one process</span>
+<a name="l00189"></a>00189 <span class="comment">                                           may hold an exclusive lock at any</span>
+<a name="l00190"></a>00190 <span class="comment">                                           given time. This is analogous to</span>
+<a name="l00191"></a>00191 <span class="comment">                                           a "write lock". */</span>
+<a name="l00192"></a>00192 
+<a name="l00193"></a><a class="code" href="group__apr__file__lock__types.html#g40777e364fb20bb9a9ee57e74b19c13d">00193</a> <span class="preprocessor">#define APR_FLOCK_TYPEMASK      0x000F  </span><span class="comment">/**&lt; mask to extract lock type */</span>
+<a name="l00194"></a><a class="code" href="group__apr__file__lock__types.html#gb327fa0250e19006f20d5ec65fe7f22a">00194</a> <span class="preprocessor">#define APR_FLOCK_NONBLOCK      0x0010  </span><span class="comment">/**&lt; do not block while acquiring the</span>
+<a name="l00195"></a>00195 <span class="comment">                                           file lock */</span>
+<a name="l00196"></a>00196 <span class="comment">/** @} */</span>
+<a name="l00197"></a>00197 <span class="comment"></span>
+<a name="l00198"></a>00198 <span class="comment">/**</span>
+<a name="l00199"></a>00199 <span class="comment"> * Open the specified file.</span>
+<a name="l00200"></a>00200 <span class="comment"> * @param newf The opened file descriptor.</span>
+<a name="l00201"></a>00201 <span class="comment"> * @param fname The full path to the file (using / on all systems)</span>
+<a name="l00202"></a>00202 <span class="comment"> * @param flag Or'ed value of:</span>
+<a name="l00203"></a>00203 <span class="comment"> * &lt;PRE&gt;</span>
+<a name="l00204"></a>00204 <span class="comment"> *         APR_READ              open for reading</span>
+<a name="l00205"></a>00205 <span class="comment"> *         APR_WRITE             open for writing</span>
+<a name="l00206"></a>00206 <span class="comment"> *         APR_CREATE            create the file if not there</span>
+<a name="l00207"></a>00207 <span class="comment"> *         APR_APPEND            file ptr is set to end prior to all writes</span>
+<a name="l00208"></a>00208 <span class="comment"> *         APR_TRUNCATE          set length to zero if file exists</span>
+<a name="l00209"></a>00209 <span class="comment"> *         APR_BINARY            not a text file (This flag is ignored on </span>
+<a name="l00210"></a>00210 <span class="comment"> *                               UNIX because it has no meaning)</span>
+<a name="l00211"></a>00211 <span class="comment"> *         APR_BUFFERED          buffer the data.  Default is non-buffered</span>
+<a name="l00212"></a>00212 <span class="comment"> *         APR_EXCL              return error if APR_CREATE and file exists</span>
+<a name="l00213"></a>00213 <span class="comment"> *         APR_DELONCLOSE        delete the file after closing.</span>
+<a name="l00214"></a>00214 <span class="comment"> *         APR_XTHREAD           Platform dependent tag to open the file</span>
+<a name="l00215"></a>00215 <span class="comment"> *                               for use across multiple threads</span>
+<a name="l00216"></a>00216 <span class="comment"> *         APR_SHARELOCK         Platform dependent support for higher</span>
+<a name="l00217"></a>00217 <span class="comment"> *                               level locked read/write access to support</span>
+<a name="l00218"></a>00218 <span class="comment"> *                               writes across process/machines</span>
+<a name="l00219"></a>00219 <span class="comment"> *         APR_FILE_NOCLEANUP    Do not register a cleanup with the pool </span>
+<a name="l00220"></a>00220 <span class="comment"> *                               passed in on the &lt;EM&gt;pool&lt;/EM&gt; argument (see below).</span>
+<a name="l00221"></a>00221 <span class="comment"> *                               The apr_os_file_t handle in apr_file_t will not</span>
+<a name="l00222"></a>00222 <span class="comment"> *                               be closed when the pool is destroyed.</span>
+<a name="l00223"></a>00223 <span class="comment"> *         APR_SENDFILE_ENABLED  Open with appropriate platform semantics</span>
+<a name="l00224"></a>00224 <span class="comment"> *                               for sendfile operations.  Advisory only,</span>
+<a name="l00225"></a>00225 <span class="comment"> *                               apr_socket_sendfile does not check this flag.</span>
+<a name="l00226"></a>00226 <span class="comment"> * &lt;/PRE&gt;</span>
+<a name="l00227"></a>00227 <span class="comment"> * @param perm Access permissions for file.</span>
+<a name="l00228"></a>00228 <span class="comment"> * @param pool The pool to use.</span>
+<a name="l00229"></a>00229 <span class="comment"> * @remark If perm is APR_OS_DEFAULT and the file is being created,</span>
+<a name="l00230"></a>00230 <span class="comment"> * appropriate default permissions will be used.</span>
+<a name="l00231"></a>00231 <span class="comment"> * @remark By default, the returned file descriptor will not be</span>
+<a name="l00232"></a>00232 <span class="comment"> * inherited by child processes created by apr_proc_create().  This</span>
+<a name="l00233"></a>00233 <span class="comment"> * can be changed using apr_file_inherit_set().</span>
+<a name="l00234"></a>00234 <span class="comment"> */</span>
+<a name="l00235"></a>00235 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#gbda14cbf242fb4fe99055434213e5446">apr_file_open</a>(apr_file_t **newf, const <span class="keywordtype">char</span> *fname,
+<a name="l00236"></a>00236                                         apr_int32_t flag, <a class="code" href="group__apr__file__info.html#g3af19c4c47007169064a70f9351bc7d8">apr_fileperms_t</a> perm,
+<a name="l00237"></a>00237                                         <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
 <a name="l00238"></a>00238 <span class="comment"></span>
 <a name="l00239"></a>00239 <span class="comment">/**</span>
-<a name="l00240"></a>00240 <span class="comment"> * Rename the specified file.</span>
-<a name="l00241"></a>00241 <span class="comment"> * @param from_path The full path to the original file (using / on all systems)</span>
-<a name="l00242"></a>00242 <span class="comment"> * @param to_path The full path to the new file (using / on all systems)</span>
-<a name="l00243"></a>00243 <span class="comment"> * @param pool The pool to use.</span>
-<a name="l00244"></a>00244 <span class="comment"> * @warning If a file exists at the new location, then it will be</span>
-<a name="l00245"></a>00245 <span class="comment"> * overwritten.  Moving files or directories across devices may not be</span>
-<a name="l00246"></a>00246 <span class="comment"> * possible.</span>
-<a name="l00247"></a>00247 <span class="comment"> */</span>
-<a name="l00248"></a>00248 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g29b5633bb80226baa5de79a83c6999aa">apr_file_rename</a>(const <span class="keywordtype">char</span> *from_path, 
-<a name="l00249"></a>00249                                           const <span class="keywordtype">char</span> *to_path,
-<a name="l00250"></a>00250                                           <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
-<a name="l00251"></a>00251 <span class="comment"></span>
-<a name="l00252"></a>00252 <span class="comment">/**</span>
-<a name="l00253"></a>00253 <span class="comment"> * Copy the specified file to another file.</span>
-<a name="l00254"></a>00254 <span class="comment"> * @param from_path The full path to the original file (using / on all systems)</span>
-<a name="l00255"></a>00255 <span class="comment"> * @param to_path The full path to the new file (using / on all systems)</span>
-<a name="l00256"></a>00256 <span class="comment"> * @param perms Access permissions for the new file if it is created.</span>
-<a name="l00257"></a>00257 <span class="comment"> *     In place of the usual or'd combination of file permissions, the</span>
-<a name="l00258"></a>00258 <span class="comment"> *     value APR_FILE_SOURCE_PERMS may be given, in which case the source</span>
-<a name="l00259"></a>00259 <span class="comment"> *     file's permissions are copied.</span>
-<a name="l00260"></a>00260 <span class="comment"> * @param pool The pool to use.</span>
-<a name="l00261"></a>00261 <span class="comment"> * @remark The new file does not need to exist, it will be created if required.</span>
-<a name="l00262"></a>00262 <span class="comment"> * @warning If the new file already exists, its contents will be overwritten.</span>
-<a name="l00263"></a>00263 <span class="comment"> */</span>
-<a name="l00264"></a>00264 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g2b82c441246cc4596795420b0a94a9a2">apr_file_copy</a>(const <span class="keywordtype">char</span> *from_path, 
-<a name="l00265"></a>00265                                         const <span class="keywordtype">char</span> *to_path,
-<a name="l00266"></a>00266                                         <a class="code" href="group__apr__file__info.html#g3af19c4c47007169064a70f9351bc7d8">apr_fileperms_t</a> perms,
-<a name="l00267"></a>00267                                         <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
-<a name="l00268"></a>00268 <span class="comment"></span>
-<a name="l00269"></a>00269 <span class="comment">/**</span>
-<a name="l00270"></a>00270 <span class="comment"> * Append the specified file to another file.</span>
-<a name="l00271"></a>00271 <span class="comment"> * @param from_path The full path to the source file (use / on all systems)</span>
-<a name="l00272"></a>00272 <span class="comment"> * @param to_path The full path to the destination file (use / on all systems)</span>
-<a name="l00273"></a>00273 <span class="comment"> * @param perms Access permissions for the destination file if it is created.</span>
-<a name="l00274"></a>00274 <span class="comment"> *     In place of the usual or'd combination of file permissions, the</span>
-<a name="l00275"></a>00275 <span class="comment"> *     value APR_FILE_SOURCE_PERMS may be given, in which case the source</span>
-<a name="l00276"></a>00276 <span class="comment"> *     file's permissions are copied.</span>
-<a name="l00277"></a>00277 <span class="comment"> * @param pool The pool to use.</span>
-<a name="l00278"></a>00278 <span class="comment"> * @remark The new file does not need to exist, it will be created if required.</span>
-<a name="l00279"></a>00279 <span class="comment"> */</span>
-<a name="l00280"></a>00280 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g0b9bc41ffa4ac43cbea46b44eace939e">apr_file_append</a>(const <span class="keywordtype">char</span> *from_path, 
-<a name="l00281"></a>00281                                           const <span class="keywordtype">char</span> *to_path,
-<a name="l00282"></a>00282                                           <a class="code" href="group__apr__file__info.html#g3af19c4c47007169064a70f9351bc7d8">apr_fileperms_t</a> perms,
-<a name="l00283"></a>00283                                           <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
-<a name="l00284"></a>00284 <span class="comment"></span>
-<a name="l00285"></a>00285 <span class="comment">/**</span>
-<a name="l00286"></a>00286 <span class="comment"> * Are we at the end of the file</span>
-<a name="l00287"></a>00287 <span class="comment"> * @param fptr The apr file we are testing.</span>
-<a name="l00288"></a>00288 <span class="comment"> * @remark Returns APR_EOF if we are at the end of file, APR_SUCCESS otherwise.</span>
-<a name="l00289"></a>00289 <span class="comment"> */</span>
-<a name="l00290"></a>00290 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g8efaff2f556b250fee1021541b782ea8">apr_file_eof</a>(apr_file_t *fptr);
-<a name="l00291"></a>00291 <span class="comment"></span>
-<a name="l00292"></a>00292 <span class="comment">/**</span>
-<a name="l00293"></a>00293 <span class="comment"> * Open standard error as an apr file pointer.</span>
-<a name="l00294"></a>00294 <span class="comment"> * @param thefile The apr file to use as stderr.</span>
-<a name="l00295"></a>00295 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
-<a name="l00296"></a>00296 <span class="comment"> * </span>
-<a name="l00297"></a>00297 <span class="comment"> * @remark The only reason that the apr_file_open_std* functions exist</span>
-<a name="l00298"></a>00298 <span class="comment"> * is that you may not always have a stderr/out/in on Windows.  This</span>
-<a name="l00299"></a>00299 <span class="comment"> * is generally a problem with newer versions of Windows and services.</span>
-<a name="l00300"></a>00300 <span class="comment"> * </span>
-<a name="l00301"></a>00301 <span class="comment"> * @remark The other problem is that the C library functions generally work</span>
-<a name="l00302"></a>00302 <span class="comment"> * differently on Windows and Unix.  So, by using apr_file_open_std*</span>
-<a name="l00303"></a>00303 <span class="comment"> * functions, you can get a handle to an APR struct that works with</span>
-<a name="l00304"></a>00304 <span class="comment"> * the APR functions which are supposed to work identically on all</span>
-<a name="l00305"></a>00305 <span class="comment"> * platforms.</span>
-<a name="l00306"></a>00306 <span class="comment"> */</span>
-<a name="l00307"></a>00307 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#gf426d98943319acced2c9b52757f377f">apr_file_open_stderr</a>(apr_file_t **thefile,
-<a name="l00308"></a>00308                                                <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
-<a name="l00309"></a>00309 <span class="comment"></span>
-<a name="l00310"></a>00310 <span class="comment">/**</span>
-<a name="l00311"></a>00311 <span class="comment"> * open standard output as an apr file pointer.</span>
-<a name="l00312"></a>00312 <span class="comment"> * @param thefile The apr file to use as stdout.</span>
-<a name="l00313"></a>00313 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
-<a name="l00314"></a>00314 <span class="comment"> * </span>
-<a name="l00315"></a>00315 <span class="comment"> * @remark See remarks for apr_file_open_stderr.</span>
-<a name="l00316"></a>00316 <span class="comment"> */</span>
-<a name="l00317"></a>00317 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g0d36922c0944ff9675cc820e68d56199">apr_file_open_stdout</a>(apr_file_t **thefile,
-<a name="l00318"></a>00318                                                <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
-<a name="l00319"></a>00319 <span class="comment"></span>
-<a name="l00320"></a>00320 <span class="comment">/**</span>
-<a name="l00321"></a>00321 <span class="comment"> * open standard input as an apr file pointer.</span>
-<a name="l00322"></a>00322 <span class="comment"> * @param thefile The apr file to use as stdin.</span>
-<a name="l00323"></a>00323 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
-<a name="l00324"></a>00324 <span class="comment"> * </span>
-<a name="l00325"></a>00325 <span class="comment"> * @remark See remarks for apr_file_open_stderr.</span>
-<a name="l00326"></a>00326 <span class="comment"> */</span>
-<a name="l00327"></a>00327 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g539454470148f9b22a31f85936a5f8b4">apr_file_open_stdin</a>(apr_file_t **thefile,
-<a name="l00328"></a>00328                                               <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
-<a name="l00329"></a>00329 <span class="comment"></span>
-<a name="l00330"></a>00330 <span class="comment">/**</span>
-<a name="l00331"></a>00331 <span class="comment"> * open standard error as an apr file pointer, with flags.</span>
-<a name="l00332"></a>00332 <span class="comment"> * @param thefile The apr file to use as stderr.</span>
-<a name="l00333"></a>00333 <span class="comment"> * @param flags The flags to open the file with. Only the APR_EXCL,</span>
-<a name="l00334"></a>00334 <span class="comment"> *              APR_BUFFERED, APR_XTHREAD, APR_SHARELOCK, </span>
-<a name="l00335"></a>00335 <span class="comment"> *              APR_SENDFILE_ENABLED and APR_LARGEFILE flags should</span>
-<a name="l00336"></a>00336 <span class="comment"> *              be used. The APR_WRITE flag will be set unconditionally.</span>
-<a name="l00337"></a>00337 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
-<a name="l00338"></a>00338 <span class="comment"> * </span>
-<a name="l00339"></a>00339 <span class="comment"> * @remark See remarks for apr_file_open_stderr.</span>
-<a name="l00340"></a>00340 <span class="comment"> */</span>
-<a name="l00341"></a>00341 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g6e87d695994e236dae3d428ed68886bf">apr_file_open_flags_stderr</a>(apr_file_t **thefile,
-<a name="l00342"></a>00342                                                      apr_int32_t flags,
-<a name="l00343"></a>00343                                                      <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00240"></a>00240 <span class="comment"> * Close the specified file.</span>
+<a name="l00241"></a>00241 <span class="comment"> * @param file The file descriptor to close.</span>
+<a name="l00242"></a>00242 <span class="comment"> */</span>
+<a name="l00243"></a>00243 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g5607bce1c4c798ceb6c8475a998a81a1">apr_file_close</a>(apr_file_t *file);
+<a name="l00244"></a>00244 <span class="comment"></span>
+<a name="l00245"></a>00245 <span class="comment">/**</span>
+<a name="l00246"></a>00246 <span class="comment"> * Delete the specified file.</span>
+<a name="l00247"></a>00247 <span class="comment"> * @param path The full path to the file (using / on all systems)</span>
+<a name="l00248"></a>00248 <span class="comment"> * @param pool The pool to use.</span>
+<a name="l00249"></a>00249 <span class="comment"> * @remark If the file is open, it won't be removed until all</span>
+<a name="l00250"></a>00250 <span class="comment"> * instances are closed.</span>
+<a name="l00251"></a>00251 <span class="comment"> */</span>
+<a name="l00252"></a>00252 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g211c40be82f8bf8b8d7dce5afca5500b">apr_file_remove</a>(const <span class="keywordtype">char</span> *path, <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00253"></a>00253 <span class="comment"></span>
+<a name="l00254"></a>00254 <span class="comment">/**</span>
+<a name="l00255"></a>00255 <span class="comment"> * Rename the specified file.</span>
+<a name="l00256"></a>00256 <span class="comment"> * @param from_path The full path to the original file (using / on all systems)</span>
+<a name="l00257"></a>00257 <span class="comment"> * @param to_path The full path to the new file (using / on all systems)</span>
+<a name="l00258"></a>00258 <span class="comment"> * @param pool The pool to use.</span>
+<a name="l00259"></a>00259 <span class="comment"> * @warning If a file exists at the new location, then it will be</span>
+<a name="l00260"></a>00260 <span class="comment"> * overwritten.  Moving files or directories across devices may not be</span>
+<a name="l00261"></a>00261 <span class="comment"> * possible.</span>
+<a name="l00262"></a>00262 <span class="comment"> */</span>
+<a name="l00263"></a>00263 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g29b5633bb80226baa5de79a83c6999aa">apr_file_rename</a>(const <span class="keywordtype">char</span> *from_path, 
+<a name="l00264"></a>00264                                           const <span class="keywordtype">char</span> *to_path,
+<a name="l00265"></a>00265                                           <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00266"></a>00266 <span class="comment"></span>
+<a name="l00267"></a>00267 <span class="comment">/**</span>
+<a name="l00268"></a>00268 <span class="comment"> * Copy the specified file to another file.</span>
+<a name="l00269"></a>00269 <span class="comment"> * @param from_path The full path to the original file (using / on all systems)</span>
+<a name="l00270"></a>00270 <span class="comment"> * @param to_path The full path to the new file (using / on all systems)</span>
+<a name="l00271"></a>00271 <span class="comment"> * @param perms Access permissions for the new file if it is created.</span>
+<a name="l00272"></a>00272 <span class="comment"> *     In place of the usual or'd combination of file permissions, the</span>
+<a name="l00273"></a>00273 <span class="comment"> *     value APR_FILE_SOURCE_PERMS may be given, in which case the source</span>
+<a name="l00274"></a>00274 <span class="comment"> *     file's permissions are copied.</span>
+<a name="l00275"></a>00275 <span class="comment"> * @param pool The pool to use.</span>
+<a name="l00276"></a>00276 <span class="comment"> * @remark The new file does not need to exist, it will be created if required.</span>
+<a name="l00277"></a>00277 <span class="comment"> * @warning If the new file already exists, its contents will be overwritten.</span>
+<a name="l00278"></a>00278 <span class="comment"> */</span>
+<a name="l00279"></a>00279 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g2b82c441246cc4596795420b0a94a9a2">apr_file_copy</a>(const <span class="keywordtype">char</span> *from_path, 
+<a name="l00280"></a>00280                                         const <span class="keywordtype">char</span> *to_path,
+<a name="l00281"></a>00281                                         <a class="code" href="group__apr__file__info.html#g3af19c4c47007169064a70f9351bc7d8">apr_fileperms_t</a> perms,
+<a name="l00282"></a>00282                                         <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00283"></a>00283 <span class="comment"></span>
+<a name="l00284"></a>00284 <span class="comment">/**</span>
+<a name="l00285"></a>00285 <span class="comment"> * Append the specified file to another file.</span>
+<a name="l00286"></a>00286 <span class="comment"> * @param from_path The full path to the source file (use / on all systems)</span>
+<a name="l00287"></a>00287 <span class="comment"> * @param to_path The full path to the destination file (use / on all systems)</span>
+<a name="l00288"></a>00288 <span class="comment"> * @param perms Access permissions for the destination file if it is created.</span>
+<a name="l00289"></a>00289 <span class="comment"> *     In place of the usual or'd combination of file permissions, the</span>
+<a name="l00290"></a>00290 <span class="comment"> *     value APR_FILE_SOURCE_PERMS may be given, in which case the source</span>
+<a name="l00291"></a>00291 <span class="comment"> *     file's permissions are copied.</span>
+<a name="l00292"></a>00292 <span class="comment"> * @param pool The pool to use.</span>
+<a name="l00293"></a>00293 <span class="comment"> * @remark The new file does not need to exist, it will be created if required.</span>
+<a name="l00294"></a>00294 <span class="comment"> */</span>
+<a name="l00295"></a>00295 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g0b9bc41ffa4ac43cbea46b44eace939e">apr_file_append</a>(const <span class="keywordtype">char</span> *from_path, 
+<a name="l00296"></a>00296                                           const <span class="keywordtype">char</span> *to_path,
+<a name="l00297"></a>00297                                           <a class="code" href="group__apr__file__info.html#g3af19c4c47007169064a70f9351bc7d8">apr_fileperms_t</a> perms,
+<a name="l00298"></a>00298                                           <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00299"></a>00299 <span class="comment"></span>
+<a name="l00300"></a>00300 <span class="comment">/**</span>
+<a name="l00301"></a>00301 <span class="comment"> * Are we at the end of the file</span>
+<a name="l00302"></a>00302 <span class="comment"> * @param fptr The apr file we are testing.</span>
+<a name="l00303"></a>00303 <span class="comment"> * @remark Returns APR_EOF if we are at the end of file, APR_SUCCESS otherwise.</span>
+<a name="l00304"></a>00304 <span class="comment"> */</span>
+<a name="l00305"></a>00305 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g8efaff2f556b250fee1021541b782ea8">apr_file_eof</a>(apr_file_t *fptr);
+<a name="l00306"></a>00306 <span class="comment"></span>
+<a name="l00307"></a>00307 <span class="comment">/**</span>
+<a name="l00308"></a>00308 <span class="comment"> * Open standard error as an apr file pointer.</span>
+<a name="l00309"></a>00309 <span class="comment"> * @param thefile The apr file to use as stderr.</span>
+<a name="l00310"></a>00310 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
+<a name="l00311"></a>00311 <span class="comment"> * </span>
+<a name="l00312"></a>00312 <span class="comment"> * @remark The only reason that the apr_file_open_std* functions exist</span>
+<a name="l00313"></a>00313 <span class="comment"> * is that you may not always have a stderr/out/in on Windows.  This</span>
+<a name="l00314"></a>00314 <span class="comment"> * is generally a problem with newer versions of Windows and services.</span>
+<a name="l00315"></a>00315 <span class="comment"> * </span>
+<a name="l00316"></a>00316 <span class="comment"> * @remark The other problem is that the C library functions generally work</span>
+<a name="l00317"></a>00317 <span class="comment"> * differently on Windows and Unix.  So, by using apr_file_open_std*</span>
+<a name="l00318"></a>00318 <span class="comment"> * functions, you can get a handle to an APR struct that works with</span>
+<a name="l00319"></a>00319 <span class="comment"> * the APR functions which are supposed to work identically on all</span>
+<a name="l00320"></a>00320 <span class="comment"> * platforms.</span>
+<a name="l00321"></a>00321 <span class="comment"> */</span>
+<a name="l00322"></a>00322 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#gf426d98943319acced2c9b52757f377f">apr_file_open_stderr</a>(apr_file_t **thefile,
+<a name="l00323"></a>00323                                                <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00324"></a>00324 <span class="comment"></span>
+<a name="l00325"></a>00325 <span class="comment">/**</span>
+<a name="l00326"></a>00326 <span class="comment"> * open standard output as an apr file pointer.</span>
+<a name="l00327"></a>00327 <span class="comment"> * @param thefile The apr file to use as stdout.</span>
+<a name="l00328"></a>00328 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
+<a name="l00329"></a>00329 <span class="comment"> * </span>
+<a name="l00330"></a>00330 <span class="comment"> * @remark See remarks for apr_file_open_stderr.</span>
+<a name="l00331"></a>00331 <span class="comment"> */</span>
+<a name="l00332"></a>00332 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g0d36922c0944ff9675cc820e68d56199">apr_file_open_stdout</a>(apr_file_t **thefile,
+<a name="l00333"></a>00333                                                <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00334"></a>00334 <span class="comment"></span>
+<a name="l00335"></a>00335 <span class="comment">/**</span>
+<a name="l00336"></a>00336 <span class="comment"> * open standard input as an apr file pointer.</span>
+<a name="l00337"></a>00337 <span class="comment"> * @param thefile The apr file to use as stdin.</span>
+<a name="l00338"></a>00338 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
+<a name="l00339"></a>00339 <span class="comment"> * </span>
+<a name="l00340"></a>00340 <span class="comment"> * @remark See remarks for apr_file_open_stderr.</span>
+<a name="l00341"></a>00341 <span class="comment"> */</span>
+<a name="l00342"></a>00342 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g539454470148f9b22a31f85936a5f8b4">apr_file_open_stdin</a>(apr_file_t **thefile,
+<a name="l00343"></a>00343                                               <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
 <a name="l00344"></a>00344 <span class="comment"></span>
 <a name="l00345"></a>00345 <span class="comment">/**</span>
-<a name="l00346"></a>00346 <span class="comment"> * open standard output as an apr file pointer, with flags.</span>
-<a name="l00347"></a>00347 <span class="comment"> * @param thefile The apr file to use as stdout.</span>
+<a name="l00346"></a>00346 <span class="comment"> * open standard error as an apr file pointer, with flags.</span>
+<a name="l00347"></a>00347 <span class="comment"> * @param thefile The apr file to use as stderr.</span>
 <a name="l00348"></a>00348 <span class="comment"> * @param flags The flags to open the file with. Only the APR_EXCL,</span>
 <a name="l00349"></a>00349 <span class="comment"> *              APR_BUFFERED, APR_XTHREAD, APR_SHARELOCK, </span>
 <a name="l00350"></a>00350 <span class="comment"> *              APR_SENDFILE_ENABLED and APR_LARGEFILE flags should</span>
@@ -376,531 +376,577 @@
 <a name="l00353"></a>00353 <span class="comment"> * </span>
 <a name="l00354"></a>00354 <span class="comment"> * @remark See remarks for apr_file_open_stderr.</span>
 <a name="l00355"></a>00355 <span class="comment"> */</span>
-<a name="l00356"></a>00356 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#geda353505bc1dc46db93b0a80d0b1c4c">apr_file_open_flags_stdout</a>(apr_file_t **thefile,
+<a name="l00356"></a>00356 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g6e87d695994e236dae3d428ed68886bf">apr_file_open_flags_stderr</a>(apr_file_t **thefile,
 <a name="l00357"></a>00357                                                      apr_int32_t flags,
 <a name="l00358"></a>00358                                                      <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
 <a name="l00359"></a>00359 <span class="comment"></span>
 <a name="l00360"></a>00360 <span class="comment">/**</span>
-<a name="l00361"></a>00361 <span class="comment"> * open standard input as an apr file pointer, with flags.</span>
-<a name="l00362"></a>00362 <span class="comment"> * @param thefile The apr file to use as stdin.</span>
+<a name="l00361"></a>00361 <span class="comment"> * open standard output as an apr file pointer, with flags.</span>
+<a name="l00362"></a>00362 <span class="comment"> * @param thefile The apr file to use as stdout.</span>
 <a name="l00363"></a>00363 <span class="comment"> * @param flags The flags to open the file with. Only the APR_EXCL,</span>
 <a name="l00364"></a>00364 <span class="comment"> *              APR_BUFFERED, APR_XTHREAD, APR_SHARELOCK, </span>
 <a name="l00365"></a>00365 <span class="comment"> *              APR_SENDFILE_ENABLED and APR_LARGEFILE flags should</span>
-<a name="l00366"></a>00366 <span class="comment"> *              be used. The APR_READ flag will be set unconditionally.</span>
+<a name="l00366"></a>00366 <span class="comment"> *              be used. The APR_WRITE flag will be set unconditionally.</span>
 <a name="l00367"></a>00367 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
 <a name="l00368"></a>00368 <span class="comment"> * </span>
 <a name="l00369"></a>00369 <span class="comment"> * @remark See remarks for apr_file_open_stderr.</span>
 <a name="l00370"></a>00370 <span class="comment"> */</span>
-<a name="l00371"></a>00371 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g3bde3e61454b5604077f297b1d1671c0">apr_file_open_flags_stdin</a>(apr_file_t **thefile,
+<a name="l00371"></a>00371 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#geda353505bc1dc46db93b0a80d0b1c4c">apr_file_open_flags_stdout</a>(apr_file_t **thefile,
 <a name="l00372"></a>00372                                                      apr_int32_t flags,
 <a name="l00373"></a>00373                                                      <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
 <a name="l00374"></a>00374 <span class="comment"></span>
 <a name="l00375"></a>00375 <span class="comment">/**</span>
-<a name="l00376"></a>00376 <span class="comment"> * Read data from the specified file.</span>
-<a name="l00377"></a>00377 <span class="comment"> * @param thefile The file descriptor to read from.</span>
-<a name="l00378"></a>00378 <span class="comment"> * @param buf The buffer to store the data to.</span>
-<a name="l00379"></a>00379 <span class="comment"> * @param nbytes On entry, the number of bytes to read; on exit, the number</span>
-<a name="l00380"></a>00380 <span class="comment"> * of bytes read.</span>
-<a name="l00381"></a>00381 <span class="comment"> *</span>
-<a name="l00382"></a>00382 <span class="comment"> * @remark apr_file_read will read up to the specified number of</span>
-<a name="l00383"></a>00383 <span class="comment"> * bytes, but never more.  If there isn't enough data to fill that</span>
-<a name="l00384"></a>00384 <span class="comment"> * number of bytes, all of the available data is read.  The third</span>
-<a name="l00385"></a>00385 <span class="comment"> * argument is modified to reflect the number of bytes read.  If a</span>
-<a name="l00386"></a>00386 <span class="comment"> * char was put back into the stream via ungetc, it will be the first</span>
-<a name="l00387"></a>00387 <span class="comment"> * character returned.</span>
-<a name="l00388"></a>00388 <span class="comment"> *</span>
-<a name="l00389"></a>00389 <span class="comment"> * @remark It is not possible for both bytes to be read and an APR_EOF</span>
-<a name="l00390"></a>00390 <span class="comment"> * or other error to be returned.  APR_EINTR is never returned.</span>
-<a name="l00391"></a>00391 <span class="comment"> */</span>
-<a name="l00392"></a>00392 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#gdd067ee0050dff0c03a9420c9d424466">apr_file_read</a>(apr_file_t *thefile, <span class="keywordtype">void</span> *buf,
-<a name="l00393"></a>00393                                         apr_size_t *nbytes);
-<a name="l00394"></a>00394 <span class="comment"></span>
-<a name="l00395"></a>00395 <span class="comment">/**</span>
-<a name="l00396"></a>00396 <span class="comment"> * Write data to the specified file.</span>
-<a name="l00397"></a>00397 <span class="comment"> * @param thefile The file descriptor to write to.</span>
-<a name="l00398"></a>00398 <span class="comment"> * @param buf The buffer which contains the data.</span>
-<a name="l00399"></a>00399 <span class="comment"> * @param nbytes On entry, the number of bytes to write; on exit, the number </span>
-<a name="l00400"></a>00400 <span class="comment"> *               of bytes written.</span>
-<a name="l00401"></a>00401 <span class="comment"> *</span>
-<a name="l00402"></a>00402 <span class="comment"> * @remark apr_file_write will write up to the specified number of</span>
-<a name="l00403"></a>00403 <span class="comment"> * bytes, but never more.  If the OS cannot write that many bytes, it</span>
-<a name="l00404"></a>00404 <span class="comment"> * will write as many as it can.  The third argument is modified to</span>
-<a name="l00405"></a>00405 <span class="comment"> * reflect the * number of bytes written.</span>
-<a name="l00406"></a>00406 <span class="comment"> *</span>
-<a name="l00407"></a>00407 <span class="comment"> * @remark It is possible for both bytes to be written and an error to</span>
-<a name="l00408"></a>00408 <span class="comment"> * be returned.  APR_EINTR is never returned.</span>
-<a name="l00409"></a>00409 <span class="comment"> */</span>
-<a name="l00410"></a>00410 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g2e4baa94102c363fdca3c850375d3584">apr_file_write</a>(apr_file_t *thefile, const <span class="keywordtype">void</span> *buf,
-<a name="l00411"></a>00411                                          apr_size_t *nbytes);
-<a name="l00412"></a>00412 <span class="comment"></span>
-<a name="l00413"></a>00413 <span class="comment">/**</span>
-<a name="l00414"></a>00414 <span class="comment"> * Write data from iovec array to the specified file.</span>
-<a name="l00415"></a>00415 <span class="comment"> * @param thefile The file descriptor to write to.</span>
-<a name="l00416"></a>00416 <span class="comment"> * @param vec The array from which to get the data to write to the file.</span>
-<a name="l00417"></a>00417 <span class="comment"> * @param nvec The number of elements in the struct iovec array. This must </span>
-<a name="l00418"></a>00418 <span class="comment"> *             be smaller than APR_MAX_IOVEC_SIZE.  If it isn't, the function </span>
-<a name="l00419"></a>00419 <span class="comment"> *             will fail with APR_EINVAL.</span>
-<a name="l00420"></a>00420 <span class="comment"> * @param nbytes The number of bytes written.</span>
+<a name="l00376"></a>00376 <span class="comment"> * open standard input as an apr file pointer, with flags.</span>
+<a name="l00377"></a>00377 <span class="comment"> * @param thefile The apr file to use as stdin.</span>
+<a name="l00378"></a>00378 <span class="comment"> * @param flags The flags to open the file with. Only the APR_EXCL,</span>
+<a name="l00379"></a>00379 <span class="comment"> *              APR_BUFFERED, APR_XTHREAD, APR_SHARELOCK, </span>
+<a name="l00380"></a>00380 <span class="comment"> *              APR_SENDFILE_ENABLED and APR_LARGEFILE flags should</span>
+<a name="l00381"></a>00381 <span class="comment"> *              be used. The APR_READ flag will be set unconditionally.</span>
+<a name="l00382"></a>00382 <span class="comment"> * @param pool The pool to allocate the file out of.</span>
+<a name="l00383"></a>00383 <span class="comment"> * </span>
+<a name="l00384"></a>00384 <span class="comment"> * @remark See remarks for apr_file_open_stderr.</span>
+<a name="l00385"></a>00385 <span class="comment"> */</span>
+<a name="l00386"></a>00386 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g3bde3e61454b5604077f297b1d1671c0">apr_file_open_flags_stdin</a>(apr_file_t **thefile,
+<a name="l00387"></a>00387                                                      apr_int32_t flags,
+<a name="l00388"></a>00388                                                      <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00389"></a>00389 <span class="comment"></span>
+<a name="l00390"></a>00390 <span class="comment">/**</span>
+<a name="l00391"></a>00391 <span class="comment"> * Read data from the specified file.</span>
+<a name="l00392"></a>00392 <span class="comment"> * @param thefile The file descriptor to read from.</span>
+<a name="l00393"></a>00393 <span class="comment"> * @param buf The buffer to store the data to.</span>
+<a name="l00394"></a>00394 <span class="comment"> * @param nbytes On entry, the number of bytes to read; on exit, the number</span>
+<a name="l00395"></a>00395 <span class="comment"> * of bytes read.</span>
+<a name="l00396"></a>00396 <span class="comment"> *</span>
+<a name="l00397"></a>00397 <span class="comment"> * @remark apr_file_read will read up to the specified number of</span>
+<a name="l00398"></a>00398 <span class="comment"> * bytes, but never more.  If there isn't enough data to fill that</span>
+<a name="l00399"></a>00399 <span class="comment"> * number of bytes, all of the available data is read.  The third</span>
+<a name="l00400"></a>00400 <span class="comment"> * argument is modified to reflect the number of bytes read.  If a</span>
+<a name="l00401"></a>00401 <span class="comment"> * char was put back into the stream via ungetc, it will be the first</span>
+<a name="l00402"></a>00402 <span class="comment"> * character returned.</span>
+<a name="l00403"></a>00403 <span class="comment"> *</span>
+<a name="l00404"></a>00404 <span class="comment"> * @remark It is not possible for both bytes to be read and an APR_EOF</span>
+<a name="l00405"></a>00405 <span class="comment"> * or other error to be returned.  APR_EINTR is never returned.</span>
+<a name="l00406"></a>00406 <span class="comment"> */</span>
+<a name="l00407"></a>00407 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#gdd067ee0050dff0c03a9420c9d424466">apr_file_read</a>(apr_file_t *thefile, <span class="keywordtype">void</span> *buf,
+<a name="l00408"></a>00408                                         apr_size_t *nbytes);
+<a name="l00409"></a>00409 <span class="comment"></span>
+<a name="l00410"></a>00410 <span class="comment">/**</span>
+<a name="l00411"></a>00411 <span class="comment"> * Write data to the specified file.</span>
+<a name="l00412"></a>00412 <span class="comment"> * @param thefile The file descriptor to write to.</span>
+<a name="l00413"></a>00413 <span class="comment"> * @param buf The buffer which contains the data.</span>
+<a name="l00414"></a>00414 <span class="comment"> * @param nbytes On entry, the number of bytes to write; on exit, the number </span>
+<a name="l00415"></a>00415 <span class="comment"> *               of bytes written.</span>
+<a name="l00416"></a>00416 <span class="comment"> *</span>
+<a name="l00417"></a>00417 <span class="comment"> * @remark apr_file_write will write up to the specified number of</span>
+<a name="l00418"></a>00418 <span class="comment"> * bytes, but never more.  If the OS cannot write that many bytes, it</span>
+<a name="l00419"></a>00419 <span class="comment"> * will write as many as it can.  The third argument is modified to</span>
+<a name="l00420"></a>00420 <span class="comment"> * reflect the * number of bytes written.</span>
 <a name="l00421"></a>00421 <span class="comment"> *</span>
 <a name="l00422"></a>00422 <span class="comment"> * @remark It is possible for both bytes to be written and an error to</span>
 <a name="l00423"></a>00423 <span class="comment"> * be returned.  APR_EINTR is never returned.</span>
-<a name="l00424"></a>00424 <span class="comment"> *</span>
-<a name="l00425"></a>00425 <span class="comment"> * @remark apr_file_writev is available even if the underlying</span>
-<a name="l00426"></a>00426 <span class="comment"> * operating system doesn't provide writev().</span>
-<a name="l00427"></a>00427 <span class="comment"> */</span>
-<a name="l00428"></a>00428 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#gcc7924dd7af1c2948b5b2ea6e5f77984">apr_file_writev</a>(apr_file_t *thefile,
-<a name="l00429"></a>00429                                           const struct iovec *vec,
-<a name="l00430"></a>00430                                           apr_size_t nvec, apr_size_t *nbytes);
-<a name="l00431"></a>00431 <span class="comment"></span>
-<a name="l00432"></a>00432 <span class="comment">/**</span>
-<a name="l00433"></a>00433 <span class="comment"> * Read data from the specified file, ensuring that the buffer is filled</span>
-<a name="l00434"></a>00434 <span class="comment"> * before returning.</span>
-<a name="l00435"></a>00435 <span class="comment"> * @param thefile The file descriptor to read from.</span>
-<a name="l00436"></a>00436 <span class="comment"> * @param buf The buffer to store the data to.</span>
-<a name="l00437"></a>00437 <span class="comment"> * @param nbytes The number of bytes to read.</span>
-<a name="l00438"></a>00438 <span class="comment"> * @param bytes_read If non-NULL, this will contain the number of bytes read.</span>
+<a name="l00424"></a>00424 <span class="comment"> */</span>
+<a name="l00425"></a>00425 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__file__io.html#g2e4baa94102c363fdca3c850375d3584">apr_file_write</a>(apr_file_t *thefile, const <span class="keywordtype">void</span> *buf,
+<a name="l00426"></a>00426                                          apr_size_t *nbytes);
+<a name="l00427"></a>00427 <span class="comment"></span>
+<a name="l00428"></a>00428 <span class="comment">/**</span>
+<a name="l00429"></a>00429 <span class="comment"> * Write data from iovec array to the specified file.</span>
+<a name="l00430"></a>00430 <span class="comment"> * @param thefile The file descriptor to write to.</span>
+<a name="l00431"></a>00431 <span class="comment"> * @param vec The array from which to get the data to write to the file.</span>
+<a name="l00432"></a>00432 <span class="comment"> * @param nvec The number of elements in the struct iovec array. This must </span>
+<a name="l00433"></a>00433 <span class="comment"> *             be smaller than APR_MAX_IOVEC_SIZE.  If it isn't, the function </span>
+<a name="l00434"></a>00434 <span class="comment"> *             will fail with APR_EINVAL.</span>
+<a name="l00435"></a>00435 <span class="comment"> * @param nbytes The number of bytes written.</span>
+<a name="l00436"></a>00436 <span class="comment"> *</span>
+<a name="l00437"></a>00437 <span class="comment"> * @remark It is possible for both bytes to be written and an error to</span>
+<a name="l00438"></a>00438 <span class="comment"> * be returned.  APR_EINTR is never returned.</span>
 <a name="l00439"></a>00439 <span class="comment"> *</span>
-<a name="l00440"></a>00440 <span class="comment"> * @remark apr_file_read will read up to the specified number of</span>
-<a name="l00441"></a>00441 <span class="comment"> * bytes, but never more.  If there isn't enough data to fill that</span>
-<a name="l00442"></a>00442 <span class="comment"> * number of bytes, then the process/thread will block until it is</span>
-<a name="l00443"></a>00443 <span class="comment"> * available or EOF is reached.  If a char was put back into the</span>
-<a name="l00444"></a>00444 <span class="comment"> * stream via ungetc, it will be the first character returned.</span>
-<a name="l00445"></a>00445 <span class="comment"> *</span>
-<a name="l00446"></a>00446 <span class="comment"> * @remark It is possible for both bytes to be read and an error to be</span>
-<a name="l00447"></a>00447 <span class="comment"> * returned.  And if *bytes_read is less than nbytes, an accompanying</span>
-<a name="l00448"></a>00448 <span class="comment"> * error is _always_ returned.</span>

[... 909 lines stripped ...]


Mime
View raw message