\doxysection{rtrlib/lib/alloc\+\_\+utils\+\_\+private.h File Reference}
\hypertarget{alloc__utils__private_8h}{}\label{alloc__utils__private_8h}\index{rtrlib/lib/alloc\_utils\_private.h@{rtrlib/lib/alloc\_utils\_private.h}}
{\ttfamily \#include "{}alloc\+\_\+utils.\+h"{}}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{alloc__utils__private_8h_ab28f373ab97c25fa856970f5d2dfa09c}{lrtr\+\_\+malloc}} (size\+\_\+t size)
\item 
void \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{alloc__utils__private_8h_a30b5482e3b2ff64288820e851375539e}{lrtr\+\_\+calloc}} (size\+\_\+t nmemb, size\+\_\+t size)
\item 
void \mbox{\hyperlink{alloc__utils__private_8h_a2695fed4beb39117c2aecb910e078de6}{lrtr\+\_\+free}} (void \texorpdfstring{$\ast$}{*}ptr)
\item 
void \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{alloc__utils__private_8h_ae769ae9a64e23d79021e924d64356a69}{lrtr\+\_\+realloc}} (void \texorpdfstring{$\ast$}{*}ptr, size\+\_\+t size)
\item 
char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{alloc__utils__private_8h_a94286bab9bef177ceab6e32eb64fc717}{lrtr\+\_\+strdup}} (const char \texorpdfstring{$\ast$}{*}string)
\begin{DoxyCompactList}\small\item\em Duplicates a string. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\Hypertarget{alloc__utils__private_8h_a30b5482e3b2ff64288820e851375539e}\label{alloc__utils__private_8h_a30b5482e3b2ff64288820e851375539e} 
\index{alloc\_utils\_private.h@{alloc\_utils\_private.h}!lrtr\_calloc@{lrtr\_calloc}}
\index{lrtr\_calloc@{lrtr\_calloc}!alloc\_utils\_private.h@{alloc\_utils\_private.h}}
\doxysubsubsection{\texorpdfstring{lrtr\_calloc()}{lrtr\_calloc()}}
{\footnotesize\ttfamily void \texorpdfstring{$\ast$}{*} lrtr\+\_\+calloc (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{nmemb,  }\item[{size\+\_\+t}]{size }\end{DoxyParamCaption})}

\Hypertarget{alloc__utils__private_8h_a2695fed4beb39117c2aecb910e078de6}\label{alloc__utils__private_8h_a2695fed4beb39117c2aecb910e078de6} 
\index{alloc\_utils\_private.h@{alloc\_utils\_private.h}!lrtr\_free@{lrtr\_free}}
\index{lrtr\_free@{lrtr\_free}!alloc\_utils\_private.h@{alloc\_utils\_private.h}}
\doxysubsubsection{\texorpdfstring{lrtr\_free()}{lrtr\_free()}}
{\footnotesize\ttfamily void lrtr\+\_\+free (\begin{DoxyParamCaption}\item[{void \texorpdfstring{$\ast$}{*}}]{ptr }\end{DoxyParamCaption})}

\Hypertarget{alloc__utils__private_8h_ab28f373ab97c25fa856970f5d2dfa09c}\label{alloc__utils__private_8h_ab28f373ab97c25fa856970f5d2dfa09c} 
\index{alloc\_utils\_private.h@{alloc\_utils\_private.h}!lrtr\_malloc@{lrtr\_malloc}}
\index{lrtr\_malloc@{lrtr\_malloc}!alloc\_utils\_private.h@{alloc\_utils\_private.h}}
\doxysubsubsection{\texorpdfstring{lrtr\_malloc()}{lrtr\_malloc()}}
{\footnotesize\ttfamily void \texorpdfstring{$\ast$}{*} lrtr\+\_\+malloc (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{size }\end{DoxyParamCaption})}

\Hypertarget{alloc__utils__private_8h_ae769ae9a64e23d79021e924d64356a69}\label{alloc__utils__private_8h_ae769ae9a64e23d79021e924d64356a69} 
\index{alloc\_utils\_private.h@{alloc\_utils\_private.h}!lrtr\_realloc@{lrtr\_realloc}}
\index{lrtr\_realloc@{lrtr\_realloc}!alloc\_utils\_private.h@{alloc\_utils\_private.h}}
\doxysubsubsection{\texorpdfstring{lrtr\_realloc()}{lrtr\_realloc()}}
{\footnotesize\ttfamily void \texorpdfstring{$\ast$}{*} lrtr\+\_\+realloc (\begin{DoxyParamCaption}\item[{void \texorpdfstring{$\ast$}{*}}]{ptr,  }\item[{size\+\_\+t}]{size }\end{DoxyParamCaption})}

\Hypertarget{alloc__utils__private_8h_a94286bab9bef177ceab6e32eb64fc717}\label{alloc__utils__private_8h_a94286bab9bef177ceab6e32eb64fc717} 
\index{alloc\_utils\_private.h@{alloc\_utils\_private.h}!lrtr\_strdup@{lrtr\_strdup}}
\index{lrtr\_strdup@{lrtr\_strdup}!alloc\_utils\_private.h@{alloc\_utils\_private.h}}
\doxysubsubsection{\texorpdfstring{lrtr\_strdup()}{lrtr\_strdup()}}
{\footnotesize\ttfamily char \texorpdfstring{$\ast$}{*} lrtr\+\_\+strdup (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{string }\end{DoxyParamCaption})}



Duplicates a string. 

\begin{DoxyPrecond}{Precondition}
string != NULL 
\end{DoxyPrecond}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em string} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Duplicated string 

NULL on error 
\end{DoxyReturn}
