📄 structapr__proc__t.html
字号:
<!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_proc_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 Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<h1>apr_proc_t Struct Reference<br>
<small>
[<a class="el" href="group__apr__thread__proc.html">Threads and Process Functions</a>]</small>
</h1><code>#include <<a class="el" href="apr__thread__proc_8h-source.html">apr_thread_proc.h</a>></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>pid_t </td><td class="memItemRight" valign=bottom><a class="el" href="structapr__proc__t.html#o0">pid</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> * </td><td class="memItemRight" valign=bottom><a class="el" href="structapr__proc__t.html#o1">in</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> * </td><td class="memItemRight" valign=bottom><a class="el" href="structapr__proc__t.html#o2">out</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> * </td><td class="memItemRight" valign=bottom><a class="el" href="structapr__proc__t.html#o3">err</a></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="structapr__proc__t.html#o4">invoked</a></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>HANDLE </td><td class="memItemRight" valign=bottom><a class="el" href="structapr__proc__t.html#o5">hproc</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The APR process type
<p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o3" doxytag="apr_proc_t::err" ></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__io.html#ga2">apr_file_t</a>* <a class="el" href="structapr__proc__t.html#o3">apr_proc_t::err</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Parent's side of pipe to child's stdouterr </td>
</tr>
</table>
<a class="anchor" name="o5" doxytag="apr_proc_t::hproc" ></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"> HANDLE <a class="el" href="structapr__proc__t.html#o5">apr_proc_t::hproc</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
(Win32 only) Creator's handle granting access to the process <dl compact><dt><b>Remarks:</b></dt><dd>This handle is closed and reset to NULL in every case corresponding to a waitpid() on Unix which returns the exit status. Therefore Win32 correspond's to Unix's zombie reaping characteristics and avoids potential handle leaks. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="o1" doxytag="apr_proc_t::in" ></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__io.html#ga2">apr_file_t</a>* <a class="el" href="structapr__proc__t.html#o1">apr_proc_t::in</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Parent's side of pipe to child's stdin </td>
</tr>
</table>
<a class="anchor" name="o4" doxytag="apr_proc_t::invoked" ></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"> char* <a class="el" href="structapr__proc__t.html#o4">apr_proc_t::invoked</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Diagnositics/debugging string of the command invoked for this process [only present if APR_HAS_PROC_INVOKED is true] <dl compact><dt><b>Remarks:</b></dt><dd>Only enabled on Win32 by default. </dd></dl>
<p>
<dl compact><dt><b><a class="el" href="bug.html#_bug000004">Bug:</a></b></dt><dd>This should either always or never be present in release builds - since it breaks binary compatibility. We may enable it always in APR 1.0 yet leave it undefined in most cases. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="o2" doxytag="apr_proc_t::out" ></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__io.html#ga2">apr_file_t</a>* <a class="el" href="structapr__proc__t.html#o2">apr_proc_t::out</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Parent's side of pipe to child's stdout </td>
</tr>
</table>
<a class="anchor" name="o0" doxytag="apr_proc_t::pid" ></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"> pid_t <a class="el" href="structapr__proc__t.html#o0">apr_proc_t::pid</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The process ID </td>
</tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="apr__thread__proc_8h-source.html">apr_thread_proc.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 7 13:18:25 2005 for Apache Portable Runtime by
<a href="../../../www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -