Why does reading from pipe that has STDOUT_FILENO redirected to it hang without these actions?

后端 未结 0 503
北荒
北荒 2021-01-02 11:52

The following code redirects stdout to the write-end of a pipe, whose read-end I then read from.

// main.cpp
#include 
#include &l         


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