Question 4 / 15: 

2. [8 points]: The UNIX designers chose to have the process created by a fork() share (inherit) the open file descriptors of its parent.

Which of the following would become more complicated had they decided on an alternate fork() semantics, in which the child process is created with no open file descriptors?

The management of standard I/O streams of child processes.
A  True
B  False
<< First < Previous Flashcard Next > Last >>
Explanation:

TRUE. Standard I/O streams are file descriptors, and by default child processes use the same standard I/O streams as parents.

Exam Home Page
https://www.jobilize.com/computer-system-engineering-exam-by-prof-samuel-madden-mit

Computer System Engineering 6.033 Spring 2006

Author:

Access: Public Instant Grading

Attribution:  Morris, Robert, and Samuel Madden. 6.033 Computer System Engineering, Spring 2009. (MIT OpenCourseWare: Massachusetts Institute of Technology), http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-033-computer-system-engineering-spring-2009 (Accessed 2 May, 2014). License: Creative Commons BY-NC-SA
Ask
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/computer-system-engineering-exam-by-prof-samuel-madden-mit" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>