#include <string.h>#include <cirbuf.h>Go to the source code of this file.
Functions | |
| void | cirbuf_align_left (struct cirbuf *cbuf) |
| void | cirbuf_align_right (struct cirbuf *cbuf) |
| void cirbuf_align_left | ( | struct cirbuf * | cbuf | ) |
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().
| void cirbuf_align_right | ( | struct cirbuf * | cbuf | ) |
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.
1.5.6