#include <string.h>
#include <cirbuf.h>
Go to the source code of this file.
Functions | |
char | cirbuf_get_head (struct cirbuf *cbuf) |
char cirbuf_get_head | ( | struct cirbuf * | cbuf | ) |
Return the head of the circular buffer. You _must_ check that buffer is not empty before calling the function.
Definition at line 30 of file cirbuf_get_head.c.
References cirbuf::buf, and cirbuf::start.
Referenced by rdline_char_in().