4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>camel-process</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
<link rel="home" href="index.html" title="Camel Reference Manual">
8
8
<link rel="up" href="Deprecated.html" title="Deprecated Objects">
9
9
<link rel="prev" href="camel-CamelNewsAddress.html" title="CamelNewsAddress">
10
10
<link rel="next" href="ix01.html" title="Index">
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="classes.html" title="Part I. Camel Classes">
14
<link rel="chapter" href="ClassTree.html" title="Class Hierarchy">
15
<link rel="chapter" href="Fundamentals.html" title="Fundamentals">
16
<link rel="chapter" href="Streams.html" title="Streams">
17
<link rel="chapter" href="StreamFilters.html" title="Stream Filters">
18
<link rel="chapter" href="Services.html" title="Services">
19
<link rel="chapter" href="Filters.html" title="Filters">
20
<link rel="chapter" href="Folders.html" title="Folders">
21
<link rel="chapter" href="SearchFolders.html" title="Search Folders">
22
<link rel="chapter" href="Addresses.html" title="Addresses">
23
<link rel="chapter" href="Crypto.html" title="Crypto Contexts">
24
<link rel="chapter" href="MIME.html" title="MIME Objects">
25
<link rel="chapter" href="Storage.html" title="Metadata Storage">
26
<link rel="chapter" href="Utilities.html" title="Utilities">
27
<link rel="chapter" href="Deprecated.html" title="Deprecated Objects">
28
<link rel="index" href="ix01.html" title="Index">
29
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
14
31
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
32
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
36
53
<td valign="top" align="right"></td>
37
54
</tr></table></div>
38
<div class="refsynopsisdiv">
55
<div class="refsynopsisdiv" title="Synopsis">
39
56
<a name="camel-camel-process.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis"><span class="returnvalue">pid_t</span> <a class="link" href="camel-camel-process.html#camel-process-fork" title="camel_process_fork ()">camel_process_fork</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
41
<em class="parameter"><code><span class="type">gchar</span> **argv</code></em>,
42
<em class="parameter"><code><span class="type">gint</span> *infd</code></em>,
43
<em class="parameter"><code><span class="type">gint</span> *outfd</code></em>,
44
<em class="parameter"><code><span class="type">gint</span> *errfd</code></em>,
45
<em class="parameter"><code><a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a> *ex</code></em>);
46
<span class="returnvalue">gint</span> <a class="link" href="camel-camel-process.html#camel-process-wait" title="camel_process_wait ()">camel_process_wait</a> (<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);
57
<pre class="synopsis">
58
pid_t <a class="link" href="camel-camel-process.html#camel-process-fork" title="camel_process_fork ()">camel_process_fork</a> (const <a
59
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
62
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
65
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
68
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
71
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
73
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
75
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
76
>gint</a> <a class="link" href="camel-camel-process.html#camel-process-wait" title="camel_process_wait ()">camel_process_wait</a> (pid_t pid);
49
<div class="refsect1" lang="en">
79
<div class="refsect1" title="Description">
50
80
<a name="camel-camel-process.description"></a><h2>Description</h2>
54
<div class="refsect1" lang="en">
84
<div class="refsect1" title="Details">
55
85
<a name="camel-camel-process.details"></a><h2>Details</h2>
56
<div class="refsect2" lang="en">
86
<div class="refsect2" title="camel_process_fork ()">
57
87
<a name="camel-process-fork"></a><h3>camel_process_fork ()</h3>
58
<pre class="programlisting"><span class="returnvalue">pid_t</span> camel_process_fork (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
59
<em class="parameter"><code><span class="type">gchar</span> **argv</code></em>,
60
<em class="parameter"><code><span class="type">gint</span> *infd</code></em>,
61
<em class="parameter"><code><span class="type">gint</span> *outfd</code></em>,
62
<em class="parameter"><code><span class="type">gint</span> *errfd</code></em>,
63
<em class="parameter"><code><a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a> *ex</code></em>);</pre>
64
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
88
<pre class="programlisting">pid_t camel_process_fork (const <a
89
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
92
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
95
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
98
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
101
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
103
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);</pre>
104
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
65
105
<h3 class="title">Warning</h3>
66
106
<p><code class="literal">camel_process_fork</code> is deprecated and should not be used in newly-written code.</p>
112
<div class="refsect2" lang="en">
152
<div class="refsect2" title="camel_process_wait ()">
113
153
<a name="camel-process-wait"></a><h3>camel_process_wait ()</h3>
114
<pre class="programlisting"><span class="returnvalue">gint</span> camel_process_wait (<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
115
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
154
<pre class="programlisting"><a
155
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
156
>gint</a> camel_process_wait (pid_t pid);</pre>
157
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
116
158
<h3 class="title">Warning</h3>
117
159
<p><code class="literal">camel_process_wait</code> is deprecated and should not be used in newly-written code.</p>