Examveda

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 mentioned

Answer: Option B


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux