feat: support ioctl() syscall for direct control to devices
[lunaix-os.git] / lunaix-os / includes / lunaix / ds / fifo.h
index a7ac90bb8260d971c2dc86f495d1094f862f959f..b6c0dec765a78055ead1a00465085b95c66d4388 100644 (file)
@@ -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 */