Cand you use a file descriptor if you copy it woth dup2() and the close it?

后端 未结 0 493
梦毁少年i
梦毁少年i 2021-01-05 22:57

So i\'m trying to use fork to redirect the output to the file specified in the command. First I pipe and then i copy the file descriptor of the file given to me in the plac

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