Question: draw the file descriptor table, the open file table, and the inode table after executing fork(). Note that you should draw the tables for
draw the file descriptor table, the open file table, and the inode table after executing fork(). Note that you should draw the tables for both the parent and the child process. int main() { int fd = open ("hoola.txt", 0_RDWR); dup2(fd, STDOUT_FILENO); close (fd); fork(); while (true) {; } }
Step by Step Solution
3.62 Rating (152 Votes )
There are 3 Steps involved in it
Step 1 fork system call It is used to create separate process It used to ... View full answer
Get step-by-step solutions from verified subject matter experts
