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


\subsection{Function Documentation}
\index{cirbuf\_\-align.c@{cirbuf\_\-align.c}!cirbuf\_\-align\_\-left@{cirbuf\_\-align\_\-left}}
\index{cirbuf\_\-align\_\-left@{cirbuf\_\-align\_\-left}!cirbuf_align.c@{cirbuf\_\-align.c}}
\subsubsection[cirbuf\_\-align\_\-left]{\setlength{\rightskip}{0pt plus 5cm}void cirbuf\_\-align\_\-left (struct {\bf cirbuf} $\ast$ {\em cbuf})}\label{cirbuf__align_8c_e5a8e0d6e292a8d1c5dafbb1ddbc35c0}


Set the start of the data to the index 0 of the internal buffer. 

Definition at line 62 of file cirbuf\_\-align.c.

References cirbuf::maxlen, and cirbuf::start.

Referenced by rdline\_\-char\_\-in(), and rdline\_\-get\_\-buffer().\index{cirbuf\_\-align.c@{cirbuf\_\-align.c}!cirbuf\_\-align\_\-right@{cirbuf\_\-align\_\-right}}
\index{cirbuf\_\-align\_\-right@{cirbuf\_\-align\_\-right}!cirbuf_align.c@{cirbuf\_\-align.c}}
\subsubsection[cirbuf\_\-align\_\-right]{\setlength{\rightskip}{0pt plus 5cm}void cirbuf\_\-align\_\-right (struct {\bf cirbuf} $\ast$ {\em cbuf})}\label{cirbuf__align_8c_7d305c625511b76d4766fa4dedb16468}


Set the end of the data to the last index of the internal buffer. 

Definition at line 77 of file cirbuf\_\-align.c.

References cirbuf::end, cirbuf::maxlen, and cirbuf::start.