I got tired of rewriting FIFO on every time I needed one and wrote a generic implementation. This one uses FILE pointer and has all the features I have wanted so far.
- Byte addressed
- Blocking and non-blocking I/O
- Tail eating overwrite
- Simple FILE pointer interface
- Flexible buffer memory management
- Reasonable memory consumption (buffers not included): Total words: I 790, X 157, Y 0
Have fun with this, report bugs and ask questions