Using the posix read() write() linux calls, is it guaranteed that if I write through one file descriptor and read through another file descriptor, in a serial fashion such t
when you use dup() or dup2() or fork() ,
the file table is shared by both of the file descriptors.
so if you write something from one file descriptor , and again write something through other file descriptor , then it is appended not overwritten.
but if two independent process open one file , then the data written by both processes may get mixed.