1

dup2(1,0)

Correct Answer: closes the stdin and copies the stdout descriptor to stdin

Make the most of this question

This page focuses on one Operating System Architecture question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Operating System Architecture MCQ: dup2(1,0) | Extra Education