#include <string.h>#include <cirbuf.h>Go to the source code of this file.
Functions | |
| void | cirbuf_init (struct cirbuf *cbuf, char *buf, cirbuf_uint start, cirbuf_uint maxlen) |
| void cirbuf_init | ( | struct cirbuf * | cbuf, | |
| char * | buf, | |||
| cirbuf_uint | start, | |||
| cirbuf_uint | maxlen | |||
| ) |
Init the circular buffer
Definition at line 29 of file cirbuf.c.
References cirbuf::buf, cirbuf::end, cirbuf::len, cirbuf::maxlen, and cirbuf::start.
Referenced by rdline_char_in(), rdline_init(), rdline_newline(), and uart_setconf().
1.5.6