How do I redirect the out of pipe command to a file using my own shell in C

后端 未结 0 1203
北海茫月
北海茫月 2021-02-02 06:06

I am writing my own shell in C, I wrote this code to implement piping.

But if I want to redirect the final output to a file rather than standard output, How do I do that?

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