\section{aversive\_\-10-03-12/modules/base/cirbuf/cirbuf\_\-get\_\-tail.c File Reference}
\label{cirbuf__get__tail_8c}\index{aversive\_\-10-03-12/modules/base/cirbuf/cirbuf\_\-get\_\-tail.c@{aversive\_\-10-03-12/modules/base/cirbuf/cirbuf\_\-get\_\-tail.c}}
{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$cirbuf.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
char {\bf cirbuf\_\-get\_\-tail} (struct {\bf cirbuf} $\ast$cbuf)
\end{CompactItemize}


\subsection{Function Documentation}
\index{cirbuf\_\-get\_\-tail.c@{cirbuf\_\-get\_\-tail.c}!cirbuf\_\-get\_\-tail@{cirbuf\_\-get\_\-tail}}
\index{cirbuf\_\-get\_\-tail@{cirbuf\_\-get\_\-tail}!cirbuf_get_tail.c@{cirbuf\_\-get\_\-tail.c}}
\subsubsection[cirbuf\_\-get\_\-tail]{\setlength{\rightskip}{0pt plus 5cm}char cirbuf\_\-get\_\-tail (struct {\bf cirbuf} $\ast$ {\em cbuf})}\label{cirbuf__get__tail_8c_8d09eab758c29aed6f4727a698906889}


Return the tail of the circular buffer. You \_\-must\_\- check that buffer is not empty before calling the function. 

Definition at line 30 of file cirbuf\_\-get\_\-tail.c.

References cirbuf::buf, and cirbuf::end.

Referenced by rdline\_\-char\_\-in(), uart\_\-recv\_\-nowait(), and uart\_\-send\_\-next\_\-char().