\hypertarget{getopt__long_8h}{\section{getopt\-\_\-long.\-h File Reference}
\label{getopt__long_8h}\index{getopt\-\_\-long.\-h@{getopt\-\_\-long.\-h}}
}
{\ttfamily \#include $<$config.\-h$>$}\\*
{\ttfamily \#include $<$unistd.\-h$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structoption}{option}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{getopt__long_8h_a73c0f7f192e3d2450546f6d31f2767d4}{T\-H\-I\-S\-\_\-\-I\-S\-\_\-\-\_\-\-S\-T\-D\-C\-\_\-\-\_\-}~1
\item 
\#define \hyperlink{getopt__long_8h_a3bc1d5f667b5b4ca4b4abb685dc874ce}{no\-\_\-argument}~0
\item 
\#define \hyperlink{getopt__long_8h_a6ece8d8dfa8378778f7290fdaba5b8bc}{required\-\_\-argument}~1
\item 
\#define \hyperlink{getopt__long_8h_acca06c0a947656bd8b395bf1084ffb72}{optional\-\_\-argument}~2
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{getopt__long_8h_aeb01bb54aa2ab25c4060fecdb98c8a2e}{getopt\-\_\-long} (int argc, char $\ast$const $\ast$argv, const char $\ast$shortopts, const struct \hyperlink{structoption}{option} $\ast$longopts, int $\ast$longind)
\item 
int \hyperlink{getopt__long_8h_aca92dd89a952b295dda186ac53df8034}{getopt\-\_\-long\-\_\-only} (int argc, char $\ast$const $\ast$argv, const char $\ast$shortopts, const struct \hyperlink{structoption}{option} $\ast$longopts, int $\ast$longind)
\item 
int \hyperlink{getopt__long_8h_a2f02e6d56fda0c7ea8df290864be2e42}{\-\_\-getopt\-\_\-internal} (int argc, char $\ast$const $\ast$argv, const char $\ast$shortopts, const struct \hyperlink{structoption}{option} $\ast$longopts, int $\ast$longind, int long\-\_\-only)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{getopt__long_8h_a3bc1d5f667b5b4ca4b4abb685dc874ce}{\index{getopt\-\_\-long.\-h@{getopt\-\_\-long.\-h}!no\-\_\-argument@{no\-\_\-argument}}
\index{no\-\_\-argument@{no\-\_\-argument}!getopt_long.h@{getopt\-\_\-long.\-h}}
\subsubsection[{no\-\_\-argument}]{\setlength{\rightskip}{0pt plus 5cm}\#define no\-\_\-argument~0}}\label{getopt__long_8h_a3bc1d5f667b5b4ca4b4abb685dc874ce}
\hypertarget{getopt__long_8h_acca06c0a947656bd8b395bf1084ffb72}{\index{getopt\-\_\-long.\-h@{getopt\-\_\-long.\-h}!optional\-\_\-argument@{optional\-\_\-argument}}
\index{optional\-\_\-argument@{optional\-\_\-argument}!getopt_long.h@{getopt\-\_\-long.\-h}}
\subsubsection[{optional\-\_\-argument}]{\setlength{\rightskip}{0pt plus 5cm}\#define optional\-\_\-argument~2}}\label{getopt__long_8h_acca06c0a947656bd8b395bf1084ffb72}
\hypertarget{getopt__long_8h_a6ece8d8dfa8378778f7290fdaba5b8bc}{\index{getopt\-\_\-long.\-h@{getopt\-\_\-long.\-h}!required\-\_\-argument@{required\-\_\-argument}}
\index{required\-\_\-argument@{required\-\_\-argument}!getopt_long.h@{getopt\-\_\-long.\-h}}
\subsubsection[{required\-\_\-argument}]{\setlength{\rightskip}{0pt plus 5cm}\#define required\-\_\-argument~1}}\label{getopt__long_8h_a6ece8d8dfa8378778f7290fdaba5b8bc}
\hypertarget{getopt__long_8h_a73c0f7f192e3d2450546f6d31f2767d4}{\index{getopt\-\_\-long.\-h@{getopt\-\_\-long.\-h}!T\-H\-I\-S\-\_\-\-I\-S\-\_\-\-\_\-\-S\-T\-D\-C\-\_\-\-\_\-@{T\-H\-I\-S\-\_\-\-I\-S\-\_\-\-\_\-\-S\-T\-D\-C\-\_\-\-\_\-}}
\index{T\-H\-I\-S\-\_\-\-I\-S\-\_\-\-\_\-\-S\-T\-D\-C\-\_\-\-\_\-@{T\-H\-I\-S\-\_\-\-I\-S\-\_\-\-\_\-\-S\-T\-D\-C\-\_\-\-\_\-}!getopt_long.h@{getopt\-\_\-long.\-h}}
\subsubsection[{T\-H\-I\-S\-\_\-\-I\-S\-\_\-\-\_\-\-S\-T\-D\-C\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-H\-I\-S\-\_\-\-I\-S\-\_\-\-\_\-\-S\-T\-D\-C\-\_\-\-\_\-~1}}\label{getopt__long_8h_a73c0f7f192e3d2450546f6d31f2767d4}


\subsection{Function Documentation}
\hypertarget{getopt__long_8h_a2f02e6d56fda0c7ea8df290864be2e42}{\index{getopt\-\_\-long.\-h@{getopt\-\_\-long.\-h}!\-\_\-getopt\-\_\-internal@{\-\_\-getopt\-\_\-internal}}
\index{\-\_\-getopt\-\_\-internal@{\-\_\-getopt\-\_\-internal}!getopt_long.h@{getopt\-\_\-long.\-h}}
\subsubsection[{\-\_\-getopt\-\_\-internal}]{\setlength{\rightskip}{0pt plus 5cm}int \-\_\-getopt\-\_\-internal (
\begin{DoxyParamCaption}
\item[{int}]{argc, }
\item[{char $\ast$const $\ast$}]{argv, }
\item[{const char $\ast$}]{shortopts, }
\item[{const struct {\bf option} $\ast$}]{longopts, }
\item[{int $\ast$}]{longind, }
\item[{int}]{long\-\_\-only}
\end{DoxyParamCaption}
)}}\label{getopt__long_8h_a2f02e6d56fda0c7ea8df290864be2e42}
\hypertarget{getopt__long_8h_aeb01bb54aa2ab25c4060fecdb98c8a2e}{\index{getopt\-\_\-long.\-h@{getopt\-\_\-long.\-h}!getopt\-\_\-long@{getopt\-\_\-long}}
\index{getopt\-\_\-long@{getopt\-\_\-long}!getopt_long.h@{getopt\-\_\-long.\-h}}
\subsubsection[{getopt\-\_\-long}]{\setlength{\rightskip}{0pt plus 5cm}int getopt\-\_\-long (
\begin{DoxyParamCaption}
\item[{int}]{argc, }
\item[{char $\ast$const $\ast$}]{argv, }
\item[{const char $\ast$}]{shortopts, }
\item[{const struct {\bf option} $\ast$}]{longopts, }
\item[{int $\ast$}]{longind}
\end{DoxyParamCaption}
)}}\label{getopt__long_8h_aeb01bb54aa2ab25c4060fecdb98c8a2e}


Referenced by main().

\hypertarget{getopt__long_8h_aca92dd89a952b295dda186ac53df8034}{\index{getopt\-\_\-long.\-h@{getopt\-\_\-long.\-h}!getopt\-\_\-long\-\_\-only@{getopt\-\_\-long\-\_\-only}}
\index{getopt\-\_\-long\-\_\-only@{getopt\-\_\-long\-\_\-only}!getopt_long.h@{getopt\-\_\-long.\-h}}
\subsubsection[{getopt\-\_\-long\-\_\-only}]{\setlength{\rightskip}{0pt plus 5cm}int getopt\-\_\-long\-\_\-only (
\begin{DoxyParamCaption}
\item[{int}]{argc, }
\item[{char $\ast$const $\ast$}]{argv, }
\item[{const char $\ast$}]{shortopts, }
\item[{const struct {\bf option} $\ast$}]{longopts, }
\item[{int $\ast$}]{longind}
\end{DoxyParamCaption}
)}}\label{getopt__long_8h_aca92dd89a952b295dda186ac53df8034}

.
