I was trying to create a file with a streaming interface just like /dev/random. Basically, I provide some initial contents to the file, and when a program reads from the file, it consumes some bytes, so others can only read from the rest of the file. Is there a way to do this?
Create a file with a streaming interface
files;devices