207
|
1 |
\section{examples/Test\-Master\-Slave/getopt.h File Reference}
|
|
2 |
\label{TestMasterSlave_2getopt_8h}\index{examples/TestMasterSlave/getopt.h@{examples/TestMasterSlave/getopt.h}}
|
|
3 |
{\tt \#include $<$ctype.h$>$}\par
|
|
4 |
\subsection*{Data Structures}
|
|
5 |
\begin{CompactItemize}
|
|
6 |
\item
|
|
7 |
struct {\bf option}
|
|
8 |
\end{CompactItemize}
|
|
9 |
\subsection*{Defines}
|
|
10 |
\begin{CompactItemize}
|
|
11 |
\item
|
|
12 |
\#define {\bf \_\-GETOPT\_\-H}~1
|
|
13 |
\item
|
|
14 |
\#define {\bf no\_\-argument}~0
|
|
15 |
\item
|
|
16 |
\#define {\bf required\_\-argument}~1
|
|
17 |
\item
|
|
18 |
\#define {\bf optional\_\-argument}~2
|
|
19 |
\end{CompactItemize}
|
|
20 |
\subsection*{Functions}
|
|
21 |
\begin{CompactItemize}
|
|
22 |
\item
|
|
23 |
int {\bf getopt} ()
|
|
24 |
\item
|
|
25 |
int {\bf getopt\_\-long} ()
|
|
26 |
\item
|
|
27 |
int {\bf getopt\_\-long\_\-only} ()
|
|
28 |
\item
|
|
29 |
int {\bf \_\-getopt\_\-internal} ()
|
|
30 |
\end{CompactItemize}
|
|
31 |
\subsection*{Variables}
|
|
32 |
\begin{CompactItemize}
|
|
33 |
\item
|
|
34 |
char $\ast$ {\bf optarg}
|
|
35 |
\item
|
|
36 |
int {\bf optind}
|
|
37 |
\item
|
|
38 |
int {\bf opterr}
|
|
39 |
\item
|
|
40 |
int {\bf optopt}
|
|
41 |
\end{CompactItemize}
|
|
42 |
|
|
43 |
|
|
44 |
\subsection{Define Documentation}
|
|
45 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!_GETOPT_H@{\_\-GETOPT\_\-H}}
|
|
46 |
\index{_GETOPT_H@{\_\-GETOPT\_\-H}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
47 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-GETOPT\_\-H~1}\label{TestMasterSlave_2getopt_8h_aafc27a0389aa87797164b227566342d}
|
|
48 |
|
|
49 |
|
|
50 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!no_argument@{no\_\-argument}}
|
|
51 |
\index{no_argument@{no\_\-argument}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
52 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define no\_\-argument~0}\label{TestMasterSlave_2getopt_8h_3bc1d5f667b5b4ca4b4abb685dc874ce}
|
|
53 |
|
|
54 |
|
|
55 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!optional_argument@{optional\_\-argument}}
|
|
56 |
\index{optional_argument@{optional\_\-argument}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
57 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define optional\_\-argument~2}\label{TestMasterSlave_2getopt_8h_cca06c0a947656bd8b395bf1084ffb72}
|
|
58 |
|
|
59 |
|
|
60 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!required_argument@{required\_\-argument}}
|
|
61 |
\index{required_argument@{required\_\-argument}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
62 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define required\_\-argument~1}\label{TestMasterSlave_2getopt_8h_6ece8d8dfa8378778f7290fdaba5b8bc}
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
\subsection{Function Documentation}
|
|
68 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!_getopt_internal@{\_\-getopt\_\-internal}}
|
|
69 |
\index{_getopt_internal@{\_\-getopt\_\-internal}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
70 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int \_\-getopt\_\-internal ()}\label{TestMasterSlave_2getopt_8h_60428225710059ca135c6b2a8941855f}
|
|
71 |
|
|
72 |
|
|
73 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!getopt@{getopt}}
|
|
74 |
\index{getopt@{getopt}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
75 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int getopt ()}\label{TestMasterSlave_2getopt_8h_6c5b232cca42dab05f40b47f69715f8b}
|
|
76 |
|
|
77 |
|
|
78 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!getopt_long@{getopt\_\-long}}
|
|
79 |
\index{getopt_long@{getopt\_\-long}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
80 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int getopt\_\-long ()}\label{TestMasterSlave_2getopt_8h_8616b8a74ae6c01a7ad95ad2876226ec}
|
|
81 |
|
|
82 |
|
|
83 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!getopt_long_only@{getopt\_\-long\_\-only}}
|
|
84 |
\index{getopt_long_only@{getopt\_\-long\_\-only}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
85 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int getopt\_\-long\_\-only ()}\label{TestMasterSlave_2getopt_8h_c07930413317507d5c51c19b3ac6ed20}
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
\subsection{Variable Documentation}
|
|
91 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!optarg@{optarg}}
|
|
92 |
\index{optarg@{optarg}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
93 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf optarg}}\label{TestMasterSlave_2getopt_8h_db50a0eab9fed92fc3bfc7dfa4f2c410}
|
|
94 |
|
|
95 |
|
|
96 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!opterr@{opterr}}
|
|
97 |
\index{opterr@{opterr}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
98 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf opterr}}\label{TestMasterSlave_2getopt_8h_e30f05ee1e2e5652f174a35c7875d25e}
|
|
99 |
|
|
100 |
|
|
101 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!optind@{optind}}
|
|
102 |
\index{optind@{optind}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
103 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf optind}}\label{TestMasterSlave_2getopt_8h_d5e1c16213bbee2d5e8cc363309f418c}
|
|
104 |
|
|
105 |
|
|
106 |
\index{TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}!optopt@{optopt}}
|
|
107 |
\index{optopt@{optopt}!TestMasterSlave/getopt.h@{Test\-Master\-Slave/getopt.h}}
|
|
108 |
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf optopt}}\label{TestMasterSlave_2getopt_8h_475b8db98445da73e5f62a1ef6324b95}
|
|
109 |
|
|
110 |
|