⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 group__apr__file__open__flags.html

📁 apr函数库使用手册
💻 HTML
📖 第 1 页 / 共 3 页
字号:
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Append to the end of the file     </td>
  </tr>
</table>
<a class="anchor" name="ga5" doxytag="apr_file_io.h::APR_FOPEN_BINARY" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_BINARY&nbsp;&nbsp;&nbsp;0x00020  /**&lt; Open the file in binary mode */          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Open the file in binary mode     </td>
  </tr>
</table>
<a class="anchor" name="ga7" doxytag="apr_file_io.h::APR_FOPEN_BUFFERED" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_BUFFERED&nbsp;&nbsp;&nbsp;0x00080  /**&lt; Open the file for buffered I/O */          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Open the file for buffered I/O     </td>
  </tr>
</table>
<a class="anchor" name="ga2" doxytag="apr_file_io.h::APR_FOPEN_CREATE" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_CREATE&nbsp;&nbsp;&nbsp;0x00004  /**&lt; Create the file if not there */          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create the file if not there     </td>
  </tr>
</table>
<a class="anchor" name="ga8" doxytag="apr_file_io.h::APR_FOPEN_DELONCLOSE" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_DELONCLOSE&nbsp;&nbsp;&nbsp;0x00100  /**&lt; Delete the file after close */          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Delete the file after close     </td>
  </tr>
</table>
<a class="anchor" name="ga6" doxytag="apr_file_io.h::APR_FOPEN_EXCL" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_EXCL          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Value:</b><pre class="fragment"><div>0x00040  <span class="comment">/**&lt; Open should fail if APR_CREATE</span>
<span class="comment">                                         and file exists. */</span>
</div></pre>Open should fail if APR_CREATE and file exists.     </td>
  </tr>
</table>
<a class="anchor" name="ga13" doxytag="apr_file_io.h::APR_FOPEN_LARGEFILE" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_LARGEFILE          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Value:</b><pre class="fragment"><div>0x04000 <span class="comment">/**&lt; Platform dependent flag to enable</span>
<span class="comment">                                         large file support; WARNING see</span>
<span class="comment">                                         below. */</span>
</div></pre>Platform dependent flag to enable large file support; WARNING see below.     </td>
  </tr>
</table>
<a class="anchor" name="ga11" doxytag="apr_file_io.h::APR_FOPEN_NOCLEANUP" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_NOCLEANUP          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Value:</b><pre class="fragment"><div>0x00800  <span class="comment">/**&lt; Do not register a cleanup</span>
<span class="comment">                                         when the file is opened */</span>
</div></pre>Do not register a cleanup when the file is opened     </td>
  </tr>
</table>
<a class="anchor" name="ga0" doxytag="apr_file_io.h::APR_FOPEN_READ" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_READ&nbsp;&nbsp;&nbsp;0x00001  /**&lt; Open the file for reading */          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Open the file for reading     </td>
  </tr>
</table>
<a class="anchor" name="ga12" doxytag="apr_file_io.h::APR_FOPEN_SENDFILE_ENABLED" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_SENDFILE_ENABLED          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Value:</b><pre class="fragment"><div>0x01000 <span class="comment">/**&lt; Advisory flag that this</span>
<span class="comment">                                             file should support</span>
<span class="comment">                                             apr_socket_sendfile operation */</span>
</div></pre>Advisory flag that this file should support apr_socket_sendfile operation     </td>
  </tr>
</table>
<a class="anchor" name="ga10" doxytag="apr_file_io.h::APR_FOPEN_SHARELOCK" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define APR_FOPEN_SHARELOCK          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Value:</b><pre class="fragment"><div>0x00400  <span class="comment">/**&lt; Platform dependent support for</span>
<span class="comment">                                         higher level locked read/write</span>
<span class="comment">                                         access to support writes across</span>
<span class="comment">                                         process/machines */</span>
</div></pre>Platform dependent support for higher level locked read/write access to support writes across process/machines     </td>
  </tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -