#include <string.h>#include <cirbuf.h>Go to the source code of this file.
Functions | |
| cirbuf_int | cirbuf_del_buf_tail (struct cirbuf *cbuf, cirbuf_uint size) |
| cirbuf_int cirbuf_del_buf_tail | ( | struct cirbuf * | cbuf, | |
| cirbuf_uint | size | |||
| ) |
Remove chars at the tail of the circular buffer. Return 0 on success, or a negative value on error.
Definition at line 30 of file cirbuf_del_buf_tail.c.
References CIRBUF_GET_LEN, CIRBUF_IS_EMPTY, EINVAL, cirbuf::end, cirbuf::len, and cirbuf::maxlen.
Referenced by uart_9bits_recv_nowait(), and uart_send_next_char().
1.5.6