\hypertarget{group__alloca}{}\doxysubsection{$<$alloca.\+h$>$\+: Allocate space in the stack}
\label{group__alloca}\index{$<$alloca.h$>$: Allocate space in the stack@{$<$alloca.h$>$: Allocate space in the stack}}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void $\ast$ \mbox{\hyperlink{group__alloca_gabdd78c9d072e9d390bed0e8b79087a85}{alloca}} (size\+\_\+t \+\_\+\+\_\+size)
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}


\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{group__alloca_gabdd78c9d072e9d390bed0e8b79087a85}\label{group__alloca_gabdd78c9d072e9d390bed0e8b79087a85}} 
\index{$<$alloca.h$>$: Allocate space in the stack@{$<$alloca.h$>$: Allocate space in the stack}!alloca@{alloca}}
\index{alloca@{alloca}!$<$alloca.h$>$: Allocate space in the stack@{$<$alloca.h$>$: Allocate space in the stack}}
\doxyparagraph{\texorpdfstring{alloca()}{alloca()}}
{\footnotesize\ttfamily void$\ast$ alloca (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{\+\_\+\+\_\+size }\end{DoxyParamCaption})}



Allocate {\itshape \+\_\+\+\_\+size} bytes of space in the stack frame of the caller. 

This temporary space is automatically freed when the function that called \mbox{\hyperlink{group__alloca_gabdd78c9d072e9d390bed0e8b79087a85}{alloca()}} returns to its caller. Avr-\/libc defines the \mbox{\hyperlink{group__alloca_gabdd78c9d072e9d390bed0e8b79087a85}{alloca()}} as a macro, which is translated into the inlined {\ttfamily \+\_\+\+\_\+builtin\+\_\+alloca()} function. The fact that the code is inlined, means that it is impossible to take the address of this function, or to change its behaviour by linking with a different library.

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__alloca_gabdd78c9d072e9d390bed0e8b79087a85}{alloca()}} returns a pointer to the beginning of the allocated space. If the allocation causes stack overflow, program behaviour is undefined.
\end{DoxyReturn}
\begin{DoxyWarning}{Warning}
Avoid use \mbox{\hyperlink{group__alloca_gabdd78c9d072e9d390bed0e8b79087a85}{alloca()}} inside the list of arguments of a function call. 
\end{DoxyWarning}
