diff -r 6787754b251b -r b6572d0336c3 doc/doxygen/latex/TestMasterMicroMod_2getopt_8c.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/latex/TestMasterMicroMod_2getopt_8c.tex Mon Jun 04 17:59:50 2007 +0200 @@ -0,0 +1,189 @@ +\section{examples/Test\-Master\-Micro\-Mod/getopt.c File Reference} +\label{TestMasterMicroMod_2getopt_8c}\index{examples/TestMasterMicroMod/getopt.c@{examples/TestMasterMicroMod/getopt.c}} +{\tt \#include $<$stdio.h$>$}\par +{\tt \#include \char`\"{}getopt.h\char`\"{}}\par +{\tt \#include $<$strings.h$>$}\par +\subsection*{Defines} +\begin{CompactItemize} +\item +\#define {\bf GETOPT\_\-INTERFACE\_\-VERSION}~2 +\item +\#define {\bf \_\-}(msgid)~(msgid) +\item +\#define {\bf SWAP\_\-FLAGS}(ch1, ch2) +\item +\#define {\bf NONOPTION\_\-P}~(argv[{\bf optind}][0] != '-' $|$$|$ argv[{\bf optind}][1] == '$\backslash$0') +\end{CompactItemize} +\subsection*{Enumerations} +\begin{CompactItemize} +\item +enum \{ {\bf REQUIRE\_\-ORDER}, +{\bf PERMUTE}, +{\bf RETURN\_\-IN\_\-ORDER} + \} +\end{CompactItemize} +\subsection*{Functions} +\begin{CompactItemize} +\item +char $\ast$ {\bf getenv} () +\item +static char $\ast$ {\bf my\_\-index} (char $\ast$str, int chr) const +\item +static void {\bf exchange} (char $\ast$$\ast$argv) +\item +static const char $\ast$ {\bf \_\-getopt\_\-initialize} (int argc, char $\ast$const $\ast$argv, const char $\ast$optstring) +\item +int {\bf \_\-getopt\_\-internal} (int argc, char $\ast$const $\ast$argv, const char $\ast$optstring, const struct {\bf option} $\ast$longopts, int $\ast$longind, int long\_\-only) +\item +int {\bf getopt} (int argc, char $\ast$const $\ast$argv, const char $\ast$optstring) +\end{CompactItemize} +\subsection*{Variables} +\begin{CompactItemize} +\item +char $\ast$ {\bf optarg} +\item +int {\bf optind} = 1 +\item +int {\bf \_\-\_\-getopt\_\-initialized} +\item +static char $\ast$ {\bf nextchar} +\item +int {\bf opterr} = 1 +\item +int {\bf optopt} = '?' +\item +static enum \{ ... \} {\bf ordering} +\item +static char $\ast$ {\bf posixly\_\-correct} +\item +static int {\bf first\_\-nonopt} +\item +static int {\bf last\_\-nonopt} +\end{CompactItemize} + + +\subsection{Define Documentation} +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!_@{\_\-}} +\index{_@{\_\-}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-(msgid)~(msgid)}\label{TestMasterMicroMod_2getopt_8c_86a239addea586602343007a370bf8ad} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!GETOPT_INTERFACE_VERSION@{GETOPT\_\-INTERFACE\_\-VERSION}} +\index{GETOPT_INTERFACE_VERSION@{GETOPT\_\-INTERFACE\_\-VERSION}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define GETOPT\_\-INTERFACE\_\-VERSION~2}\label{TestMasterMicroMod_2getopt_8c_5325c715897861c318d3ae312ac452cc} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!NONOPTION_P@{NONOPTION\_\-P}} +\index{NONOPTION_P@{NONOPTION\_\-P}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define NONOPTION\_\-P~(argv[{\bf optind}][0] != '-' $|$$|$ argv[{\bf optind}][1] == '$\backslash$0')}\label{TestMasterMicroMod_2getopt_8c_71ceb8911d64b39b402041ba5ea8453c} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!SWAP_FLAGS@{SWAP\_\-FLAGS}} +\index{SWAP_FLAGS@{SWAP\_\-FLAGS}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SWAP\_\-FLAGS(ch1, ch2)}\label{TestMasterMicroMod_2getopt_8c_6e06e56c5fa96faaf47f3b231e015e35} + + + + +\subsection{Enumeration Type Documentation} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}anonymous enum}\label{TestMasterMicroMod_2getopt_8c_06fc87d81c62e9abb8790b6e5713c55b} + + +\begin{Desc} +\item[Enumerator: ]\par +\begin{description} +\index{REQUIRE_ORDER@{REQUIRE\_\-ORDER}!TestMasterMicroMod/getopt.c@{TestMasterMicroMod/getopt.c}}\index{TestMasterMicroMod/getopt.c@{TestMasterMicroMod/getopt.c}!REQUIRE_ORDER@{REQUIRE\_\-ORDER}}\item[{\em +REQUIRE\_\-ORDER\label{TestMasterMicroMod_2getopt_8c_06fc87d81c62e9abb8790b6e5713c55b0e73a0691c110b1442d8364d1d12eccc} +}]\index{PERMUTE@{PERMUTE}!TestMasterMicroMod/getopt.c@{TestMasterMicroMod/getopt.c}}\index{TestMasterMicroMod/getopt.c@{TestMasterMicroMod/getopt.c}!PERMUTE@{PERMUTE}}\item[{\em +PERMUTE\label{TestMasterMicroMod_2getopt_8c_06fc87d81c62e9abb8790b6e5713c55bcfdde4b47c27f4efbd832e1ac7f8a8fc} +}]\index{RETURN_IN_ORDER@{RETURN\_\-IN\_\-ORDER}!TestMasterMicroMod/getopt.c@{TestMasterMicroMod/getopt.c}}\index{TestMasterMicroMod/getopt.c@{TestMasterMicroMod/getopt.c}!RETURN_IN_ORDER@{RETURN\_\-IN\_\-ORDER}}\item[{\em +RETURN\_\-IN\_\-ORDER\label{TestMasterMicroMod_2getopt_8c_06fc87d81c62e9abb8790b6e5713c55b3c56550bfafe809d9214b863b69c31c5} +}]\end{description} +\end{Desc} + + + +\subsection{Function Documentation} +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!_getopt_initialize@{\_\-getopt\_\-initialize}} +\index{_getopt_initialize@{\_\-getopt\_\-initialize}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static const char$\ast$ \_\-getopt\_\-initialize (int {\em argc}, char $\ast$const $\ast$ {\em argv}, const char $\ast$ {\em optstring})\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_2getopt_8c_17475cbc1ffae0c12af2e0a3319d197f} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!_getopt_internal@{\_\-getopt\_\-internal}} +\index{_getopt_internal@{\_\-getopt\_\-internal}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int \_\-getopt\_\-internal (int {\em argc}, char $\ast$const $\ast$ {\em argv}, const char $\ast$ {\em optstring}, const struct {\bf option} $\ast$ {\em longopts}, int $\ast$ {\em longind}, int {\em long\_\-only})}\label{TestMasterMicroMod_2getopt_8c_0df92a0ae8fe1fd43268c738f548674f} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!exchange@{exchange}} +\index{exchange@{exchange}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void exchange (char $\ast$$\ast$ {\em argv})\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_2getopt_8c_4621659dd6377e52ac50a0869625bb6e} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!getenv@{getenv}} +\index{getenv@{getenv}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ getenv ()}\label{TestMasterMicroMod_2getopt_8c_ee28fd8a0e40b6d958f7d20348e45368} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!getopt@{getopt}} +\index{getopt@{getopt}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int getopt (int {\em argc}, char $\ast$const $\ast$ {\em argv}, const char $\ast$ {\em optstring})}\label{TestMasterMicroMod_2getopt_8c_1b2ada39ab92162c6ec9c67c8093fa2e} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!my_index@{my\_\-index}} +\index{my_index@{my\_\-index}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static char$\ast$ my\_\-index (char $\ast$ {\em str}, int {\em chr}) const\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_2getopt_8c_e0ac978b7775f69496c0f127ffdada9d} + + + + +\subsection{Variable Documentation} +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!__getopt_initialized@{\_\-\_\-getopt\_\-initialized}} +\index{__getopt_initialized@{\_\-\_\-getopt\_\-initialized}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf \_\-\_\-getopt\_\-initialized}}\label{TestMasterMicroMod_2getopt_8c_28286be757527aeb1db951b5da9aeec1} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!first_nonopt@{first\_\-nonopt}} +\index{first_nonopt@{first\_\-nonopt}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf first\_\-nonopt}\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_2getopt_8c_7b0f4f3bfbee147113f282427ce933ed} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!last_nonopt@{last\_\-nonopt}} +\index{last_nonopt@{last\_\-nonopt}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf last\_\-nonopt}\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_2getopt_8c_580f2c2acf35dad51ca18b427212bf15} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!nextchar@{nextchar}} +\index{nextchar@{nextchar}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf nextchar}\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_2getopt_8c_47a40a4c365dae45f94751ad32aab530} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!optarg@{optarg}} +\index{optarg@{optarg}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf optarg}}\label{TestMasterMicroMod_2getopt_8c_db50a0eab9fed92fc3bfc7dfa4f2c410} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!opterr@{opterr}} +\index{opterr@{opterr}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf opterr} = 1}\label{TestMasterMicroMod_2getopt_8c_e30f05ee1e2e5652f174a35c7875d25e} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!optind@{optind}} +\index{optind@{optind}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf optind} = 1}\label{TestMasterMicroMod_2getopt_8c_d5e1c16213bbee2d5e8cc363309f418c} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!optopt@{optopt}} +\index{optopt@{optopt}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf optopt} = '?'}\label{TestMasterMicroMod_2getopt_8c_475b8db98445da73e5f62a1ef6324b95} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!ordering@{ordering}} +\index{ordering@{ordering}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum \{ ... \} {\bf ordering}\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_2getopt_8c_67a84cf4dacaa8337be68345f8b9a8cc} + + +\index{TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}!posixly_correct@{posixly\_\-correct}} +\index{posixly_correct@{posixly\_\-correct}!TestMasterMicroMod/getopt.c@{Test\-Master\-Micro\-Mod/getopt.c}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf posixly\_\-correct}\hspace{0.3cm}{\tt [static]}}\label{TestMasterMicroMod_2getopt_8c_d0ccb64bbd4defe7a57dbad2045ddd14} + +