Question: Process A opens a file F and then calls fork ( ) , creating child process B . B attempts to close F . What

Process A opens a file F and then calls fork(), creating child process B. B attempts to close F. What will happen? Process A opens a file F and then calls fork(), creating child process B. B attempts to close F. What will happen? File F closes in process B, but remains open in process A File F closes in process A, but remains open in B File F closes in both process A and B Process B cannot close F, because it is only open in A All of the above None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!