X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/c4510182f3c02e390184bee518940e325f064b20..8ce769cc52e91ff3cdb8eda4b1f5d8fe58241688:/lunaix-os/includes/lunaix/ds/fifo.h diff --git a/lunaix-os/includes/lunaix/ds/fifo.h b/lunaix-os/includes/lunaix/ds/fifo.h index a7ac90b..b6c0dec 100644 --- a/lunaix-os/includes/lunaix/ds/fifo.h +++ b/lunaix-os/includes/lunaix/ds/fifo.h @@ -41,4 +41,7 @@ fifo_write(struct fifo_buf* fbuf, void* data, size_t count); size_t fifo_read(struct fifo_buf* fbuf, void* buf, size_t count); +void +fifo_clear(struct fifo_buf* fbuf); + #endif /* __LUNAIX_FIFO_BUF_H */