I know that if I call the
open function before the fork() the IO pointer is shared between the processes.
My question is: if one of these processes closes the file calling the
close(fd) function, will the other processes be still capable of write/read the file or the file will be closed for everyone? Thanks