I am not understanding what a stream is. I have read that unbuffered I/O is when the data comes straight from the os/kernel to your program, and buffered I/O stores the data in an intermediary buffer before doing something with it. (I think..)

However it says that streams are associated only with buffered I/O as a link between the device and software?

*What exactly is a stream
*how is it related to buffered/unbuffered IO ?

Thanks.