Why do I need to close fds when reading and writing to the pipe?

后端 未结 5 799
迷失自我
迷失自我 2020-12-24 09:28

Here is an example to illustrate what I mean:

#include 
#include 
#include 

int main(void)
{
        int           


        
5条回答
提交回复
热议问题