- 博客(1)
- 收藏
- 关注
原创 谈系统调用open和读写FIFO的阻塞模式。
本文旨在讨论unix中的系统调用open()与其阻塞模式,具体为O_NOBLOCK 标记的添加与否对于读FIFO命名管道造成的影响。1.unix 中的open().open()定义在头文件<fcntl.h>中。open()的函数原型: int open(const char *path , int aflag , ... /* mode_t mode* */); 亦或是:int openat(int fd, const char *path , int aflag
2021-04-25 17:03:17
1717
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人