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