\rhead{\bf mc\_End()}
\noindent
\vspace{5pt}
\rule{6.5in}{0.015in}
\noindent
\phantomsection
{\LARGE \bf mc\_End()\index{mc\_End()}}\\
\addcontentsline{toc}{section}{mc\_End()}

\noindent
{\bf Synopsis}\\
{\bf \#include $<$libmc.h$>$}\\
{\bf int mc\_End}({\bf void});\\

\noindent
{\bf Purpose}\\
Terminate a Mobile-C agency.\\

\noindent
{\bf Return Value}\\
The function returns 0 on success and non-zero otherwise.\\

\noindent
{\bf Parameters}
\vspace{-0.1in}
None.\\

\noindent
{\bf Description}\\
This function stops all the running threads in an agency and deallocates all 
the memories regarding an agency.\\

\noindent
{\bf Example}\\
\noindent
%FIXME: Need an example here.
%{\footnotesize\verbatiminput{../demos/hello_world/client.c}}

\noindent
{\bf See Also}\\
MC\_End().

%\CPlot::\DataThreeD(), \CPlot::\DataFile(), \CPlot::\Plotting(), \plotxy().\\
