aversive_10-03-12/modules/base/cirbuf/cirbuf_get_tail.c File Reference

#include <string.h>
#include <cirbuf.h>

Go to the source code of this file.

Functions

char cirbuf_get_tail (struct cirbuf *cbuf)


Function Documentation

char cirbuf_get_tail ( struct cirbuf cbuf  ) 

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().


Generated on Fri Mar 12 06:32:05 2010 for AVR by  doxygen 1.5.6