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

📄 structapr__finfo__t.html

📁 apr函数库使用手册
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Apache Portable Runtime: apr_finfo_t struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.7 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>apr_finfo_t Struct Reference<br>
<small>
[<a class="el" href="group__apr__file__stat.html">Stat Functions</a>]</small>
</h1><code>#include &lt;<a class="el" href="apr__file__info_8h-source.html">apr_file_info.h</a>&gt;</code>
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o0">pool</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>apr_int32_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o1">valid</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__file__info.html#ga1">apr_fileperms_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o2">protection</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__file__info.html#ga4">apr_filetype_e</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o3">filetype</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__user.html#ga0">apr_uid_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o4">user</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__user.html#ga1">apr_gid_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o5">group</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__file__info.html#ga2">apr_ino_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o6">inode</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__file__info.html#ga3">apr_dev_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o7">device</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>apr_int32_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o8">nlink</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>apr_off_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o9">size</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>apr_off_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o10">csize</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__time.html#ga2">apr_time_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o11">atime</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__time.html#ga2">apr_time_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o12">mtime</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__time.html#ga2">apr_time_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o13">ctime</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o14">fname</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o15">name</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__finfo__t.html#o16">filehand</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The file information structure. This is analogous to the POSIX stat structure. 
<p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o11" doxytag="apr_finfo_t::atime" ></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"> <a class="el" href="group__apr__time.html#ga2">apr_time_t</a> <a class="el" href="structapr__finfo__t.html#o11">apr_finfo_t::atime</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The time the file was last accessed     </td>
  </tr>
</table>
<a class="anchor" name="o10" doxytag="apr_finfo_t::csize" ></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"> apr_off_t <a class="el" href="structapr__finfo__t.html#o10">apr_finfo_t::csize</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The storage size consumed by the file     </td>
  </tr>
</table>
<a class="anchor" name="o13" doxytag="apr_finfo_t::ctime" ></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"> <a class="el" href="group__apr__time.html#ga2">apr_time_t</a> <a class="el" href="structapr__finfo__t.html#o13">apr_finfo_t::ctime</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The time the file was created, or the inode was last changed     </td>
  </tr>
</table>
<a class="anchor" name="o7" doxytag="apr_finfo_t::device" ></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"> <a class="el" href="group__apr__file__info.html#ga3">apr_dev_t</a> <a class="el" href="structapr__finfo__t.html#o7">apr_finfo_t::device</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The id of the device the file is on.     </td>
  </tr>
</table>
<a class="anchor" name="o16" doxytag="apr_finfo_t::filehand" ></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"> struct <a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a>* <a class="el" href="structapr__finfo__t.html#o16">apr_finfo_t::filehand</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The file's handle, if accessed (can be submitted to apr_duphandle)     </td>
  </tr>
</table>
<a class="anchor" name="o3" doxytag="apr_finfo_t::filetype" ></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"> <a class="el" href="group__apr__file__info.html#ga4">apr_filetype_e</a> <a class="el" href="structapr__finfo__t.html#o3">apr_finfo_t::filetype</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The type of file. One of APR_REG, APR_DIR, APR_CHR, APR_BLK, APR_PIPE, APR_LNK or APR_SOCK. If the type is undetermined, the value is APR_NOFILE. If the type cannot be determined, the value is APR_UNKFILE.     </td>
  </tr>
</table>
<a class="anchor" name="o14" doxytag="apr_finfo_t::fname" ></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"> const char* <a class="el" href="structapr__finfo__t.html#o14">apr_finfo_t::fname</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The pathname of the file (possibly unrooted)     </td>
  </tr>
</table>
<a class="anchor" name="o5" doxytag="apr_finfo_t::group" ></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"> <a class="el" href="group__apr__user.html#ga1">apr_gid_t</a> <a class="el" href="structapr__finfo__t.html#o5">apr_finfo_t::group</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

⌨️ 快捷键说明

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