title: Which is better fread() or read()?
body: <p>It is understood that fread() is a library function and buffered I/o operation. read() is a system call which is unbuffered I/o. As buffered I/o is faster fread can be advantageous. But fread finally calls read() for the operation. Then how fread() is advantageous than read() ? Why fread() is needed whereas read can do the job ?  </p>