>>4The C standard doesn't define the behavior of read or write, you buffoon.POSIX does.Replace read and write with fread and fwrite and what you've said is almost correct.
read
write