\section{lib/common/memory.c File Reference}
\label{common_2memory_8c}\index{lib/common/memory.\-c@{lib/common/memory.\-c}}
{\ttfamily \#include \char`\"{}config.\-h\char`\"{}}\\*
{\ttfamily \#include $<$stdio.\-h$>$}\\*
{\ttfamily \#include $<$string.\-h$>$}\\*
{\ttfamily \#include \char`\"{}memory.\-h\char`\"{}}\\*
Include dependency graph for memory.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=306pt]{common_2memory_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void $\ast$ {\bf zmalloc} (size\-\_\-t nbytes)
\item 
void $\ast$ {\bf zrealloc} (void $\ast$ptr, size\-\_\-t size, size\-\_\-t elt, size\-\_\-t osize)
\item 
void $\ast$ {\bf gmalloc} (size\-\_\-t nbytes)
\item 
void $\ast$ {\bf grealloc} (void $\ast$ptr, size\-\_\-t size)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{common/memory.\-c@{common/memory.\-c}!gmalloc@{gmalloc}}
\index{gmalloc@{gmalloc}!common/memory.c@{common/memory.\-c}}
\subsubsection[{gmalloc}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ gmalloc (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{nbytes}
\end{DoxyParamCaption}
)}\label{common_2memory_8c_a08e709289ce5900ae7b3d2d42887dd81}


Definition at line 42 of file memory.\-c.



References N\-U\-L\-L.



Referenced by getfree(), gvconfig(), gvconfig\-\_\-plugin\-\_\-install\-\_\-from\-\_\-library(), gvplugin\-\_\-library\-\_\-load(), gvprintf(), html\-\_\-string(), xml\-\_\-string0(), xml\-\_\-url\-\_\-string(), and zmalloc().

\index{common/memory.\-c@{common/memory.\-c}!grealloc@{grealloc}}
\index{grealloc@{grealloc}!common/memory.c@{common/memory.\-c}}
\subsubsection[{grealloc}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ grealloc (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{ptr, }
\item[{size\-\_\-t}]{size}
\end{DoxyParamCaption}
)}\label{common_2memory_8c_a1912ff27e68202cc621674540faa4198}


Definition at line 54 of file memory.\-c.



References N\-U\-L\-L.



Referenced by canontoken(), colorxlate(), Fgets(), graph\-\_\-init(), gv\-\_\-argvlist\-\_\-set\-\_\-item(), gvplugin\-\_\-library\-\_\-load(), gvrender\-\_\-beziercurve(), gvrender\-\_\-polygon(), gvrender\-\_\-polyline(), html\-\_\-string(), xml\-\_\-string0(), and xml\-\_\-url\-\_\-string().

\index{common/memory.\-c@{common/memory.\-c}!zmalloc@{zmalloc}}
\index{zmalloc@{zmalloc}!common/memory.c@{common/memory.\-c}}
\subsubsection[{zmalloc}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ zmalloc (
\begin{DoxyParamCaption}
\item[{size\-\_\-t}]{nbytes}
\end{DoxyParamCaption}
)}\label{common_2memory_8c_a700659d66ff65576e576f4a40fbc2a77}


Definition at line 20 of file memory.\-c.



References gmalloc().



Referenced by gv\-Clone\-G\-V\-C(), gvjobs\-\_\-output\-\_\-filename(), gvjobs\-\_\-output\-\_\-langname(), gv\-N\-E\-Wargvlist(), gv\-N\-E\-Wcontext(), and push\-\_\-obj\-\_\-state().

\index{common/memory.\-c@{common/memory.\-c}!zrealloc@{zrealloc}}
\index{zrealloc@{zrealloc}!common/memory.c@{common/memory.\-c}}
\subsubsection[{zrealloc}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ zrealloc (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{ptr, }
\item[{size\-\_\-t}]{size, }
\item[{size\-\_\-t}]{elt, }
\item[{size\-\_\-t}]{osize}
\end{DoxyParamCaption}
)}\label{common_2memory_8c_a18871e894804cc8bd9e3e6e3acf66c8b}


Definition at line 30 of file memory.\-c.



References N\-U\-L\-L.

