⟩ dup2(1,0) a) closes the stdout and copies the stdin descriptor to stdout b) closes the stdin and copies the stdout descriptor to stdin c) will produce compilation error d) None of the above
b) closes the stdin and copies the stdout descriptor to stdin