Dup2() usage and output redirection

后端 未结 0 571
再見小時候
再見小時候 2021-01-03 22:24

I\'m trying to redirect the output of a process to the stdin of another process. This is done by dup2(). My question is: do stdin and stdout go back to their place(0,1) afte

相关标签:
回答
  • 消灭零回复
提交回复
热议问题