poll sets POLLIN but read returns zero, How it is possible?

前端 未结 0 530
情歌与酒
情歌与酒 2021-02-03 23:47

I\'m using poll in my program to check if there is something to read from pipe. When there is not, poll shouldn\'t set POLLIN in revents. But it did this, and then when I tried

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