1. “read” is a system call and fread is a C (glibc) linbrary function.
2. fread uses buffer caches and internal buffers which will fasten the operation of reading. Fread will be more efficient while using on block device like disk.
3. Read can be used for accessing a character device like a network device.
4. Fread is a formatted IO, where as read is not.
No comments:
Post a Comment