207
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
3 |
<title>CanFestival: examples/TestMasterSlave/getopt.c File Reference</title>
|
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
11 |
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
12 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
13 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
|
14 |
</ul></div>
|
|
15 |
<div class="tabs">
|
|
16 |
<ul>
|
|
17 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
18 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
19 |
</ul></div>
|
|
20 |
<h1>examples/TestMasterSlave/getopt.c File Reference</h1><code>#include <stdio.h></code><br>
|
|
21 |
<code>#include "<a class="el" href="TestMasterSlave_2getopt_8h.html">getopt.h</a>"</code><br>
|
|
22 |
<code>#include <strings.h></code><br>
|
|
23 |
<table border="0" cellpadding="0" cellspacing="0">
|
|
24 |
<tr><td></td></tr>
|
|
25 |
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
|
26 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#5325c715897861c318d3ae312ac452cc">GETOPT_INTERFACE_VERSION</a> 2</td></tr>
|
|
27 |
|
|
28 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#86a239addea586602343007a370bf8ad">_</a>(msgid) (msgid)</td></tr>
|
|
29 |
|
|
30 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#6e06e56c5fa96faaf47f3b231e015e35">SWAP_FLAGS</a>(ch1, ch2)</td></tr>
|
|
31 |
|
|
32 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#71ceb8911d64b39b402041ba5ea8453c">NONOPTION_P</a> (argv[<a class="el" href="TestMasterSlave_2getopt_8h.html#d5e1c16213bbee2d5e8cc363309f418c">optind</a>][0] != '-' || argv[<a class="el" href="TestMasterSlave_2getopt_8h.html#d5e1c16213bbee2d5e8cc363309f418c">optind</a>][1] == '\0')</td></tr>
|
|
33 |
|
|
34 |
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
|
|
35 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom">{ <a class="el" href="TestMasterSlave_2getopt_8c.html#df764cbdea00d65edcd07bb9953ad2b70e73a0691c110b1442d8364d1d12eccc">REQUIRE_ORDER</a>,
|
|
36 |
<a class="el" href="TestMasterSlave_2getopt_8c.html#df764cbdea00d65edcd07bb9953ad2b7cfdde4b47c27f4efbd832e1ac7f8a8fc">PERMUTE</a>,
|
|
37 |
<a class="el" href="TestMasterSlave_2getopt_8c.html#df764cbdea00d65edcd07bb9953ad2b73c56550bfafe809d9214b863b69c31c5">RETURN_IN_ORDER</a>
|
|
38 |
}</td></tr>
|
|
39 |
|
|
40 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
41 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#ee28fd8a0e40b6d958f7d20348e45368">getenv</a> ()</td></tr>
|
|
42 |
|
|
43 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static char * </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#e0ac978b7775f69496c0f127ffdada9d">my_index</a> (char *str, int chr) const</td></tr>
|
|
44 |
|
|
45 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#4621659dd6377e52ac50a0869625bb6e">exchange</a> (char **argv)</td></tr>
|
|
46 |
|
|
47 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#17475cbc1ffae0c12af2e0a3319d197f">_getopt_initialize</a> (int argc, char *const *argv, const char *optstring)</td></tr>
|
|
48 |
|
|
49 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#0df92a0ae8fe1fd43268c738f548674f">_getopt_internal</a> (int argc, char *const *argv, const char *optstring, const struct <a class="el" href="structoption.html">option</a> *longopts, int *longind, int long_only)</td></tr>
|
|
50 |
|
|
51 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#1b2ada39ab92162c6ec9c67c8093fa2e">getopt</a> (int argc, char *const *argv, const char *optstring)</td></tr>
|
|
52 |
|
|
53 |
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
|
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#db50a0eab9fed92fc3bfc7dfa4f2c410">optarg</a></td></tr>
|
|
55 |
|
|
56 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#d5e1c16213bbee2d5e8cc363309f418c">optind</a> = 1</td></tr>
|
|
57 |
|
|
58 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#28286be757527aeb1db951b5da9aeec1">__getopt_initialized</a></td></tr>
|
|
59 |
|
|
60 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static char * </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#47a40a4c365dae45f94751ad32aab530">nextchar</a></td></tr>
|
|
61 |
|
|
62 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#e30f05ee1e2e5652f174a35c7875d25e">opterr</a> = 1</td></tr>
|
|
63 |
|
|
64 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#475b8db98445da73e5f62a1ef6324b95">optopt</a> = '?'</td></tr>
|
|
65 |
|
|
66 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static enum { ... } </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#d6e641c007a3362710ee1c7e22c02e8c">ordering</a></td></tr>
|
|
67 |
|
|
68 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static char * </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#d0ccb64bbd4defe7a57dbad2045ddd14">posixly_correct</a></td></tr>
|
|
69 |
|
|
70 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#7b0f4f3bfbee147113f282427ce933ed">first_nonopt</a></td></tr>
|
|
71 |
|
|
72 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="TestMasterSlave_2getopt_8c.html#580f2c2acf35dad51ca18b427212bf15">last_nonopt</a></td></tr>
|
|
73 |
|
|
74 |
</table>
|
|
75 |
<hr><h2>Define Documentation</h2>
|
|
76 |
<a class="anchor" name="86a239addea586602343007a370bf8ad"></a><!-- doxytag: member="getopt.c::_" ref="86a239addea586602343007a370bf8ad" args="(msgid)" -->
|
|
77 |
<div class="memitem">
|
|
78 |
<div class="memproto">
|
|
79 |
<table class="memname">
|
|
80 |
<tr>
|
|
81 |
<td class="memname">#define _ </td>
|
|
82 |
<td>(</td>
|
|
83 |
<td class="paramtype">msgid </td>
|
|
84 |
<td class="paramname"> </td>
|
|
85 |
<td> ) </td>
|
|
86 |
<td width="100%"> (msgid)</td>
|
|
87 |
</tr>
|
|
88 |
</table>
|
|
89 |
</div>
|
|
90 |
<div class="memdoc">
|
|
91 |
|
|
92 |
<p>
|
|
93 |
|
|
94 |
</div>
|
|
95 |
</div><p>
|
|
96 |
<a class="anchor" name="5325c715897861c318d3ae312ac452cc"></a><!-- doxytag: member="getopt.c::GETOPT_INTERFACE_VERSION" ref="5325c715897861c318d3ae312ac452cc" args="" -->
|
|
97 |
<div class="memitem">
|
|
98 |
<div class="memproto">
|
|
99 |
<table class="memname">
|
|
100 |
<tr>
|
|
101 |
<td class="memname">#define GETOPT_INTERFACE_VERSION 2 </td>
|
|
102 |
</tr>
|
|
103 |
</table>
|
|
104 |
</div>
|
|
105 |
<div class="memdoc">
|
|
106 |
|
|
107 |
<p>
|
|
108 |
|
|
109 |
</div>
|
|
110 |
</div><p>
|
|
111 |
<a class="anchor" name="71ceb8911d64b39b402041ba5ea8453c"></a><!-- doxytag: member="getopt.c::NONOPTION_P" ref="71ceb8911d64b39b402041ba5ea8453c" args="" -->
|
|
112 |
<div class="memitem">
|
|
113 |
<div class="memproto">
|
|
114 |
<table class="memname">
|
|
115 |
<tr>
|
|
116 |
<td class="memname">#define NONOPTION_P (argv[<a class="el" href="TestMasterSlave_2getopt_8h.html#d5e1c16213bbee2d5e8cc363309f418c">optind</a>][0] != '-' || argv[<a class="el" href="TestMasterSlave_2getopt_8h.html#d5e1c16213bbee2d5e8cc363309f418c">optind</a>][1] == '\0') </td>
|
|
117 |
</tr>
|
|
118 |
</table>
|
|
119 |
</div>
|
|
120 |
<div class="memdoc">
|
|
121 |
|
|
122 |
<p>
|
|
123 |
|
|
124 |
</div>
|
|
125 |
</div><p>
|
|
126 |
<a class="anchor" name="6e06e56c5fa96faaf47f3b231e015e35"></a><!-- doxytag: member="getopt.c::SWAP_FLAGS" ref="6e06e56c5fa96faaf47f3b231e015e35" args="(ch1, ch2)" -->
|
|
127 |
<div class="memitem">
|
|
128 |
<div class="memproto">
|
|
129 |
<table class="memname">
|
|
130 |
<tr>
|
|
131 |
<td class="memname">#define SWAP_FLAGS </td>
|
|
132 |
<td>(</td>
|
|
133 |
<td class="paramtype">ch1, <tr>
|
|
134 |
<td class="paramkey"></td>
|
|
135 |
<td></td>
|
|
136 |
<td class="paramtype">ch2 </td>
|
|
137 |
<td class="paramname"> </td>
|
|
138 |
<td> ) </td>
|
|
139 |
<td width="100%"></td>
|
|
140 |
</tr>
|
|
141 |
</table>
|
|
142 |
</div>
|
|
143 |
<div class="memdoc">
|
|
144 |
|
|
145 |
<p>
|
|
146 |
|
|
147 |
</div>
|
|
148 |
</div><p>
|
|
149 |
<hr><h2>Enumeration Type Documentation</h2>
|
|
150 |
<a class="anchor" name="df764cbdea00d65edcd07bb9953ad2b7"></a><!-- doxytag: member="getopt.c::@1" ref="df764cbdea00d65edcd07bb9953ad2b7" args="" -->
|
|
151 |
<div class="memitem">
|
|
152 |
<div class="memproto">
|
|
153 |
<table class="memname">
|
|
154 |
<tr>
|
|
155 |
<td class="memname">anonymous enum </td>
|
|
156 |
</tr>
|
|
157 |
</table>
|
|
158 |
</div>
|
|
159 |
<div class="memdoc">
|
|
160 |
|
|
161 |
<p>
|
|
162 |
<dl compact><dt><b>Enumerator: </b></dt><dd>
|
|
163 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
164 |
<tr><td valign="top"><em><a class="anchor" name="df764cbdea00d65edcd07bb9953ad2b70e73a0691c110b1442d8364d1d12eccc"></a><!-- doxytag: member="REQUIRE_ORDER" ref="df764cbdea00d65edcd07bb9953ad2b70e73a0691c110b1442d8364d1d12eccc" args="" -->REQUIRE_ORDER</em> </td><td>
|
|
165 |
</td></tr>
|
|
166 |
<tr><td valign="top"><em><a class="anchor" name="df764cbdea00d65edcd07bb9953ad2b7cfdde4b47c27f4efbd832e1ac7f8a8fc"></a><!-- doxytag: member="PERMUTE" ref="df764cbdea00d65edcd07bb9953ad2b7cfdde4b47c27f4efbd832e1ac7f8a8fc" args="" -->PERMUTE</em> </td><td>
|
|
167 |
</td></tr>
|
|
168 |
<tr><td valign="top"><em><a class="anchor" name="df764cbdea00d65edcd07bb9953ad2b73c56550bfafe809d9214b863b69c31c5"></a><!-- doxytag: member="RETURN_IN_ORDER" ref="df764cbdea00d65edcd07bb9953ad2b73c56550bfafe809d9214b863b69c31c5" args="" -->RETURN_IN_ORDER</em> </td><td>
|
|
169 |
</td></tr>
|
|
170 |
</table>
|
|
171 |
</dl>
|
|
172 |
|
|
173 |
</div>
|
|
174 |
</div><p>
|
|
175 |
<hr><h2>Function Documentation</h2>
|
|
176 |
<a class="anchor" name="17475cbc1ffae0c12af2e0a3319d197f"></a><!-- doxytag: member="getopt.c::_getopt_initialize" ref="17475cbc1ffae0c12af2e0a3319d197f" args="(int argc, char *const *argv, const char *optstring)" -->
|
|
177 |
<div class="memitem">
|
|
178 |
<div class="memproto">
|
|
179 |
<table class="memname">
|
|
180 |
<tr>
|
|
181 |
<td class="memname">static const char* _getopt_initialize </td>
|
|
182 |
<td>(</td>
|
|
183 |
<td class="paramtype">int </td>
|
|
184 |
<td class="paramname"> <em>argc</em>, </td>
|
|
185 |
</tr>
|
|
186 |
<tr>
|
|
187 |
<td class="paramkey"></td>
|
|
188 |
<td></td>
|
|
189 |
<td class="paramtype">char *const * </td>
|
|
190 |
<td class="paramname"> <em>argv</em>, </td>
|
|
191 |
</tr>
|
|
192 |
<tr>
|
|
193 |
<td class="paramkey"></td>
|
|
194 |
<td></td>
|
|
195 |
<td class="paramtype">const char * </td>
|
|
196 |
<td class="paramname"> <em>optstring</em></td><td> </td>
|
|
197 |
</tr>
|
|
198 |
<tr>
|
|
199 |
<td></td>
|
|
200 |
<td>)</td>
|
|
201 |
<td></td><td></td><td width="100%"><code> [static]</code></td>
|
|
202 |
</tr>
|
|
203 |
</table>
|
|
204 |
</div>
|
|
205 |
<div class="memdoc">
|
|
206 |
|
|
207 |
<p>
|
|
208 |
|
|
209 |
</div>
|
|
210 |
</div><p>
|
|
211 |
<a class="anchor" name="0df92a0ae8fe1fd43268c738f548674f"></a><!-- doxytag: member="getopt.c::_getopt_internal" ref="0df92a0ae8fe1fd43268c738f548674f" args="(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only)" -->
|
|
212 |
<div class="memitem">
|
|
213 |
<div class="memproto">
|
|
214 |
<table class="memname">
|
|
215 |
<tr>
|
|
216 |
<td class="memname">int _getopt_internal </td>
|
|
217 |
<td>(</td>
|
|
218 |
<td class="paramtype">int </td>
|
|
219 |
<td class="paramname"> <em>argc</em>, </td>
|
|
220 |
</tr>
|
|
221 |
<tr>
|
|
222 |
<td class="paramkey"></td>
|
|
223 |
<td></td>
|
|
224 |
<td class="paramtype">char *const * </td>
|
|
225 |
<td class="paramname"> <em>argv</em>, </td>
|
|
226 |
</tr>
|
|
227 |
<tr>
|
|
228 |
<td class="paramkey"></td>
|
|
229 |
<td></td>
|
|
230 |
<td class="paramtype">const char * </td>
|
|
231 |
<td class="paramname"> <em>optstring</em>, </td>
|
|
232 |
</tr>
|
|
233 |
<tr>
|
|
234 |
<td class="paramkey"></td>
|
|
235 |
<td></td>
|
|
236 |
<td class="paramtype">const struct <a class="el" href="structoption.html">option</a> * </td>
|
|
237 |
<td class="paramname"> <em>longopts</em>, </td>
|
|
238 |
</tr>
|
|
239 |
<tr>
|
|
240 |
<td class="paramkey"></td>
|
|
241 |
<td></td>
|
|
242 |
<td class="paramtype">int * </td>
|
|
243 |
<td class="paramname"> <em>longind</em>, </td>
|
|
244 |
</tr>
|
|
245 |
<tr>
|
|
246 |
<td class="paramkey"></td>
|
|
247 |
<td></td>
|
|
248 |
<td class="paramtype">int </td>
|
|
249 |
<td class="paramname"> <em>long_only</em></td><td> </td>
|
|
250 |
</tr>
|
|
251 |
<tr>
|
|
252 |
<td></td>
|
|
253 |
<td>)</td>
|
|
254 |
<td></td><td></td><td width="100%"></td>
|
|
255 |
</tr>
|
|
256 |
</table>
|
|
257 |
</div>
|
|
258 |
<div class="memdoc">
|
|
259 |
|
|
260 |
<p>
|
|
261 |
|
|
262 |
</div>
|
|
263 |
</div><p>
|
|
264 |
<a class="anchor" name="4621659dd6377e52ac50a0869625bb6e"></a><!-- doxytag: member="getopt.c::exchange" ref="4621659dd6377e52ac50a0869625bb6e" args="(char **argv)" -->
|
|
265 |
<div class="memitem">
|
|
266 |
<div class="memproto">
|
|
267 |
<table class="memname">
|
|
268 |
<tr>
|
|
269 |
<td class="memname">static void exchange </td>
|
|
270 |
<td>(</td>
|
|
271 |
<td class="paramtype">char ** </td>
|
|
272 |
<td class="paramname"> <em>argv</em> </td>
|
|
273 |
<td> ) </td>
|
|
274 |
<td width="100%"><code> [static]</code></td>
|
|
275 |
</tr>
|
|
276 |
</table>
|
|
277 |
</div>
|
|
278 |
<div class="memdoc">
|
|
279 |
|
|
280 |
<p>
|
|
281 |
|
|
282 |
</div>
|
|
283 |
</div><p>
|
|
284 |
<a class="anchor" name="ee28fd8a0e40b6d958f7d20348e45368"></a><!-- doxytag: member="getopt.c::getenv" ref="ee28fd8a0e40b6d958f7d20348e45368" args="()" -->
|
|
285 |
<div class="memitem">
|
|
286 |
<div class="memproto">
|
|
287 |
<table class="memname">
|
|
288 |
<tr>
|
|
289 |
<td class="memname">char* getenv </td>
|
|
290 |
<td>(</td>
|
|
291 |
<td class="paramname"> </td>
|
|
292 |
<td> ) </td>
|
|
293 |
<td width="100%"></td>
|
|
294 |
</tr>
|
|
295 |
</table>
|
|
296 |
</div>
|
|
297 |
<div class="memdoc">
|
|
298 |
|
|
299 |
<p>
|
|
300 |
|
|
301 |
</div>
|
|
302 |
</div><p>
|
|
303 |
<a class="anchor" name="1b2ada39ab92162c6ec9c67c8093fa2e"></a><!-- doxytag: member="getopt.c::getopt" ref="1b2ada39ab92162c6ec9c67c8093fa2e" args="(int argc, char *const *argv, const char *optstring)" -->
|
|
304 |
<div class="memitem">
|
|
305 |
<div class="memproto">
|
|
306 |
<table class="memname">
|
|
307 |
<tr>
|
|
308 |
<td class="memname">int getopt </td>
|
|
309 |
<td>(</td>
|
|
310 |
<td class="paramtype">int </td>
|
|
311 |
<td class="paramname"> <em>argc</em>, </td>
|
|
312 |
</tr>
|
|
313 |
<tr>
|
|
314 |
<td class="paramkey"></td>
|
|
315 |
<td></td>
|
|
316 |
<td class="paramtype">char *const * </td>
|
|
317 |
<td class="paramname"> <em>argv</em>, </td>
|
|
318 |
</tr>
|
|
319 |
<tr>
|
|
320 |
<td class="paramkey"></td>
|
|
321 |
<td></td>
|
|
322 |
<td class="paramtype">const char * </td>
|
|
323 |
<td class="paramname"> <em>optstring</em></td><td> </td>
|
|
324 |
</tr>
|
|
325 |
<tr>
|
|
326 |
<td></td>
|
|
327 |
<td>)</td>
|
|
328 |
<td></td><td></td><td width="100%"></td>
|
|
329 |
</tr>
|
|
330 |
</table>
|
|
331 |
</div>
|
|
332 |
<div class="memdoc">
|
|
333 |
|
|
334 |
<p>
|
|
335 |
|
|
336 |
</div>
|
|
337 |
</div><p>
|
|
338 |
<a class="anchor" name="e0ac978b7775f69496c0f127ffdada9d"></a><!-- doxytag: member="getopt.c::my_index" ref="e0ac978b7775f69496c0f127ffdada9d" args="(char *str, int chr) const" -->
|
|
339 |
<div class="memitem">
|
|
340 |
<div class="memproto">
|
|
341 |
<table class="memname">
|
|
342 |
<tr>
|
|
343 |
<td class="memname">static char* my_index </td>
|
|
344 |
<td>(</td>
|
|
345 |
<td class="paramtype">char * </td>
|
|
346 |
<td class="paramname"> <em>str</em>, </td>
|
|
347 |
</tr>
|
|
348 |
<tr>
|
|
349 |
<td class="paramkey"></td>
|
|
350 |
<td></td>
|
|
351 |
<td class="paramtype">int </td>
|
|
352 |
<td class="paramname"> <em>chr</em></td><td> </td>
|
|
353 |
</tr>
|
|
354 |
<tr>
|
|
355 |
<td></td>
|
|
356 |
<td>)</td>
|
|
357 |
<td></td><td></td><td width="100%"> const<code> [static]</code></td>
|
|
358 |
</tr>
|
|
359 |
</table>
|
|
360 |
</div>
|
|
361 |
<div class="memdoc">
|
|
362 |
|
|
363 |
<p>
|
|
364 |
|
|
365 |
</div>
|
|
366 |
</div><p>
|
|
367 |
<hr><h2>Variable Documentation</h2>
|
|
368 |
<a class="anchor" name="28286be757527aeb1db951b5da9aeec1"></a><!-- doxytag: member="getopt.c::__getopt_initialized" ref="28286be757527aeb1db951b5da9aeec1" args="" -->
|
|
369 |
<div class="memitem">
|
|
370 |
<div class="memproto">
|
|
371 |
<table class="memname">
|
|
372 |
<tr>
|
|
373 |
<td class="memname">int <a class="el" href="TestMasterSlave_2getopt_8c.html#28286be757527aeb1db951b5da9aeec1">__getopt_initialized</a> </td>
|
|
374 |
</tr>
|
|
375 |
</table>
|
|
376 |
</div>
|
|
377 |
<div class="memdoc">
|
|
378 |
|
|
379 |
<p>
|
|
380 |
|
|
381 |
</div>
|
|
382 |
</div><p>
|
|
383 |
<a class="anchor" name="7b0f4f3bfbee147113f282427ce933ed"></a><!-- doxytag: member="getopt.c::first_nonopt" ref="7b0f4f3bfbee147113f282427ce933ed" args="" -->
|
|
384 |
<div class="memitem">
|
|
385 |
<div class="memproto">
|
|
386 |
<table class="memname">
|
|
387 |
<tr>
|
|
388 |
<td class="memname">int <a class="el" href="TestMasterSlave_2getopt_8c.html#7b0f4f3bfbee147113f282427ce933ed">first_nonopt</a><code> [static]</code> </td>
|
|
389 |
</tr>
|
|
390 |
</table>
|
|
391 |
</div>
|
|
392 |
<div class="memdoc">
|
|
393 |
|
|
394 |
<p>
|
|
395 |
|
|
396 |
</div>
|
|
397 |
</div><p>
|
|
398 |
<a class="anchor" name="580f2c2acf35dad51ca18b427212bf15"></a><!-- doxytag: member="getopt.c::last_nonopt" ref="580f2c2acf35dad51ca18b427212bf15" args="" -->
|
|
399 |
<div class="memitem">
|
|
400 |
<div class="memproto">
|
|
401 |
<table class="memname">
|
|
402 |
<tr>
|
|
403 |
<td class="memname">int <a class="el" href="TestMasterSlave_2getopt_8c.html#580f2c2acf35dad51ca18b427212bf15">last_nonopt</a><code> [static]</code> </td>
|
|
404 |
</tr>
|
|
405 |
</table>
|
|
406 |
</div>
|
|
407 |
<div class="memdoc">
|
|
408 |
|
|
409 |
<p>
|
|
410 |
|
|
411 |
</div>
|
|
412 |
</div><p>
|
|
413 |
<a class="anchor" name="47a40a4c365dae45f94751ad32aab530"></a><!-- doxytag: member="getopt.c::nextchar" ref="47a40a4c365dae45f94751ad32aab530" args="" -->
|
|
414 |
<div class="memitem">
|
|
415 |
<div class="memproto">
|
|
416 |
<table class="memname">
|
|
417 |
<tr>
|
|
418 |
<td class="memname">char* <a class="el" href="TestMasterSlave_2getopt_8c.html#47a40a4c365dae45f94751ad32aab530">nextchar</a><code> [static]</code> </td>
|
|
419 |
</tr>
|
|
420 |
</table>
|
|
421 |
</div>
|
|
422 |
<div class="memdoc">
|
|
423 |
|
|
424 |
<p>
|
|
425 |
|
|
426 |
</div>
|
|
427 |
</div><p>
|
|
428 |
<a class="anchor" name="db50a0eab9fed92fc3bfc7dfa4f2c410"></a><!-- doxytag: member="getopt.c::optarg" ref="db50a0eab9fed92fc3bfc7dfa4f2c410" args="" -->
|
|
429 |
<div class="memitem">
|
|
430 |
<div class="memproto">
|
|
431 |
<table class="memname">
|
|
432 |
<tr>
|
|
433 |
<td class="memname">char* <a class="el" href="TestMasterSlave_2getopt_8h.html#db50a0eab9fed92fc3bfc7dfa4f2c410">optarg</a> </td>
|
|
434 |
</tr>
|
|
435 |
</table>
|
|
436 |
</div>
|
|
437 |
<div class="memdoc">
|
|
438 |
|
|
439 |
<p>
|
|
440 |
|
|
441 |
</div>
|
|
442 |
</div><p>
|
|
443 |
<a class="anchor" name="e30f05ee1e2e5652f174a35c7875d25e"></a><!-- doxytag: member="getopt.c::opterr" ref="e30f05ee1e2e5652f174a35c7875d25e" args="" -->
|
|
444 |
<div class="memitem">
|
|
445 |
<div class="memproto">
|
|
446 |
<table class="memname">
|
|
447 |
<tr>
|
|
448 |
<td class="memname">int <a class="el" href="TestMasterSlave_2getopt_8h.html#e30f05ee1e2e5652f174a35c7875d25e">opterr</a> = 1 </td>
|
|
449 |
</tr>
|
|
450 |
</table>
|
|
451 |
</div>
|
|
452 |
<div class="memdoc">
|
|
453 |
|
|
454 |
<p>
|
|
455 |
|
|
456 |
</div>
|
|
457 |
</div><p>
|
|
458 |
<a class="anchor" name="d5e1c16213bbee2d5e8cc363309f418c"></a><!-- doxytag: member="getopt.c::optind" ref="d5e1c16213bbee2d5e8cc363309f418c" args="" -->
|
|
459 |
<div class="memitem">
|
|
460 |
<div class="memproto">
|
|
461 |
<table class="memname">
|
|
462 |
<tr>
|
|
463 |
<td class="memname">int <a class="el" href="TestMasterSlave_2getopt_8h.html#d5e1c16213bbee2d5e8cc363309f418c">optind</a> = 1 </td>
|
|
464 |
</tr>
|
|
465 |
</table>
|
|
466 |
</div>
|
|
467 |
<div class="memdoc">
|
|
468 |
|
|
469 |
<p>
|
|
470 |
|
|
471 |
</div>
|
|
472 |
</div><p>
|
|
473 |
<a class="anchor" name="475b8db98445da73e5f62a1ef6324b95"></a><!-- doxytag: member="getopt.c::optopt" ref="475b8db98445da73e5f62a1ef6324b95" args="" -->
|
|
474 |
<div class="memitem">
|
|
475 |
<div class="memproto">
|
|
476 |
<table class="memname">
|
|
477 |
<tr>
|
|
478 |
<td class="memname">int <a class="el" href="TestMasterSlave_2getopt_8h.html#475b8db98445da73e5f62a1ef6324b95">optopt</a> = '?' </td>
|
|
479 |
</tr>
|
|
480 |
</table>
|
|
481 |
</div>
|
|
482 |
<div class="memdoc">
|
|
483 |
|
|
484 |
<p>
|
|
485 |
|
|
486 |
</div>
|
|
487 |
</div><p>
|
|
488 |
<a class="anchor" name="d6e641c007a3362710ee1c7e22c02e8c"></a><!-- doxytag: member="getopt.c::ordering" ref="d6e641c007a3362710ee1c7e22c02e8c" args="" -->
|
|
489 |
<div class="memitem">
|
|
490 |
<div class="memproto">
|
|
491 |
<table class="memname">
|
|
492 |
<tr>
|
|
493 |
<td class="memname">enum { ... } <a class="el" href="TestMasterSlave_2getopt_8c.html#d6e641c007a3362710ee1c7e22c02e8c">ordering</a><code> [static]</code> </td>
|
|
494 |
</tr>
|
|
495 |
</table>
|
|
496 |
</div>
|
|
497 |
<div class="memdoc">
|
|
498 |
|
|
499 |
<p>
|
|
500 |
|
|
501 |
</div>
|
|
502 |
</div><p>
|
|
503 |
<a class="anchor" name="d0ccb64bbd4defe7a57dbad2045ddd14"></a><!-- doxytag: member="getopt.c::posixly_correct" ref="d0ccb64bbd4defe7a57dbad2045ddd14" args="" -->
|
|
504 |
<div class="memitem">
|
|
505 |
<div class="memproto">
|
|
506 |
<table class="memname">
|
|
507 |
<tr>
|
|
508 |
<td class="memname">char* <a class="el" href="TestMasterSlave_2getopt_8c.html#d0ccb64bbd4defe7a57dbad2045ddd14">posixly_correct</a><code> [static]</code> </td>
|
|
509 |
</tr>
|
|
510 |
</table>
|
|
511 |
</div>
|
|
512 |
<div class="memdoc">
|
|
513 |
|
|
514 |
<p>
|
|
515 |
|
|
516 |
</div>
|
|
517 |
</div><p>
|
|
518 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 15:50:45 2007 for CanFestival by
|
|
519 |
<a href="http://www.doxygen.org/index.html">
|
|
520 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
521 |
</body>
|
|
522 |
</html>
|