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

📄 group__apr__portabile.html

📁 apr函数库使用手册
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<!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: Portability Routines</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>Portability Routines</h1><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Modules</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>group &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__os__thread.html">Thread portability Routines</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>group &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__os__dso.html">DSO (Dynamic Loading) Portabiliity Routines</a></td></tr>

<tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structapr__os__sock__info__t.html">apr_os_sock_info_t</a></td></tr>

<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga29">apr_os_global_mutex_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga30">apr_os_global_mutex_get</a>&nbsp;&nbsp;&nbsp;apr_os_proc_mutex_get</td></tr>

<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef DIR&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga3">apr_os_proc_mutex_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef pid_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga4">apr_os_proc_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef timeval&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga5">apr_os_imp_time_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef tm&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga6">apr_os_exp_time_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga7">apr_os_dso_handle_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>typedef void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga8">apr_os_shm_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="ga9" doxytag="apr_portabile::apr_os_sock_info_t" ></a>
typedef <a class="el" href="structapr__os__sock__info__t.html">apr_os_sock_info_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga9">apr_os_sock_info_t</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">alias for local OS socket <br><br></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga10">apr_os_file_get</a> (<a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> *thefile, <a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> *file)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga11">apr_os_dir_get</a> (<a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a> **thedir, <a class="el" href="group__apr__file__info.html#ga0">apr_dir_t</a> *dir)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga12">apr_os_sock_get</a> (<a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a> *thesock, <a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> *sock)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga13">apr_os_proc_mutex_get</a> (<a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> *ospmutex, <a class="el" href="group__apr__proc__mutex.html#ga0">apr_proc_mutex_t</a> *pmutex)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga14">apr_os_exp_time_get</a> (<a class="el" href="group__apr__portabile.html#ga6">apr_os_exp_time_t</a> **ostime, <a class="el" href="structapr__time__exp__t.html">apr_time_exp_t</a> *aprtime)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga15">apr_os_imp_time_get</a> (<a class="el" href="group__apr__portabile.html#ga5">apr_os_imp_time_t</a> **ostime, <a class="el" href="group__apr__time.html#ga2">apr_time_t</a> *aprtime)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga16">apr_os_shm_get</a> (<a class="el" href="group__apr__portabile.html#ga8">apr_os_shm_t</a> *osshm, <a class="el" href="group__apr__shm.html#ga0">apr_shm_t</a> *shm)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga17">apr_os_file_put</a> (<a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> **file, <a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> *thefile, apr_int32_t flags, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga18">apr_os_pipe_put</a> (<a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> **file, <a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> *thefile, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga19">apr_os_pipe_put_ex</a> (<a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> **file, <a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a> *thefile, int register_cleanup, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga20">apr_os_dir_put</a> (<a class="el" href="group__apr__file__info.html#ga0">apr_dir_t</a> **dir, <a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a> *thedir, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga21">apr_os_sock_put</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> **sock, <a class="el" href="group__apr__portabile.html#ga2">apr_os_sock_t</a> *thesock, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga22">apr_os_sock_make</a> (<a class="el" href="group__apr__network__io.html#ga0">apr_socket_t</a> **apr_sock, <a class="el" href="structapr__os__sock__info__t.html">apr_os_sock_info_t</a> *os_sock_info, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga23">apr_os_proc_mutex_put</a> (<a class="el" href="group__apr__proc__mutex.html#ga0">apr_proc_mutex_t</a> **pmutex, <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> *ospmutex, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga24">apr_os_imp_time_put</a> (<a class="el" href="group__apr__time.html#ga2">apr_time_t</a> *aprtime, <a class="el" href="group__apr__portabile.html#ga5">apr_os_imp_time_t</a> **ostime, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga25">apr_os_exp_time_put</a> (<a class="el" href="structapr__time__exp__t.html">apr_time_exp_t</a> *aprtime, <a class="el" href="group__apr__portabile.html#ga6">apr_os_exp_time_t</a> **ostime, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__apr__errno.html#ga0">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga26">apr_os_shm_put</a> (<a class="el" href="group__apr__shm.html#ga0">apr_shm_t</a> **shm, <a class="el" href="group__apr__portabile.html#ga8">apr_os_shm_t</a> *osshm, <a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *cont)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga27">apr_os_default_encoding</a> (<a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *pool)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="group__apr__portabile.html#ga28">apr_os_locale_encoding</a> (<a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *pool)</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="ga30" doxytag="apr_portable.h::apr_os_global_mutex_get" ></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_os_global_mutex_get&nbsp;&nbsp;&nbsp;apr_os_proc_mutex_get          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Returns:</b></dt><dd>apr_os_global_mutex </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="ga29" doxytag="apr_portable.h::apr_os_global_mutex_t" ></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_os_global_mutex_t&nbsp;&nbsp;&nbsp;<a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Opaque global mutex type     </td>
  </tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="ga1" doxytag="apr_portable.h::apr_os_dir_t" ></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"> typedef DIR <a class="el" href="group__apr__portabile.html#ga1">apr_os_dir_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
native dir     </td>
  </tr>
</table>
<a class="anchor" name="ga7" doxytag="apr_portable.h::apr_os_dso_handle_t" ></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__portabile.html#ga7">apr_os_dso_handle_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
native dso types     </td>
  </tr>
</table>
<a class="anchor" name="ga6" doxytag="apr_portable.h::apr_os_exp_time_t" ></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"> typedef struct tm <a class="el" href="group__apr__portabile.html#ga6">apr_os_exp_time_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
native tm     </td>
  </tr>
</table>
<a class="anchor" name="ga0" doxytag="apr_portable.h::apr_os_file_t" ></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"> typedef int <a class="el" href="group__apr__portabile.html#ga0">apr_os_file_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
native file     </td>
  </tr>
</table>
<a class="anchor" name="ga5" doxytag="apr_portable.h::apr_os_imp_time_t" ></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"> typedef struct timeval <a class="el" href="group__apr__portabile.html#ga5">apr_os_imp_time_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
native timeval     </td>
  </tr>
</table>
<a class="anchor" name="ga3" doxytag="apr_portable.h::apr_os_proc_mutex_t" ></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"> typedef struct <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a> <a class="el" href="structapr__os__proc__mutex__t.html">apr_os_proc_mutex_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
native proces mutex     </td>
  </tr>
</table>
<a class="anchor" name="ga4" doxytag="apr_portable.h::apr_os_proc_t" ></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"> typedef pid_t <a class="el" href="group__apr__portabile.html#ga4">apr_os_proc_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
native pid     </td>
  </tr>
</table>
<a class="anchor" name="ga8" doxytag="apr_portable.h::apr_os_shm_t" ></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"> typedef void* <a class="el" href="group__apr__portabile.html#ga8">apr_os_shm_t</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>

⌨️ 快捷键说明

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