'How is a read system call different from the istream::read function?

My Operating Systems professor was talking today about how a read system call is unbuffered while a istream::read function has a buffer. This left me a bit confused as you still make a buffer for the istream::read function when using it.

The only thing I can think of is that there are more than one buffers in the istream::read function call. Why?

What does the istream::read() function do differently from the read() function system call?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source