Q.

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
Answer» B. closes the stdin and copies the stdout descriptor to stdin
1.7k
0
Do you find this helpful?
3

Discussion

No comments yet