2020年6月10日

poll函数的用法

摘要: poll提供的功能与select类似,不过在处理流设备时,它能够提供额外的信息。 #include <poll.h> int poll(struct pollfd fd[], nfds_t nfds, int timeout); 参数: 1)第一个参数:一个结构数组,struct pollfd结构如 阅读全文

posted @ 2020-06-10 09:08 二进制的奥秘 阅读(1587) 评论(0) 推荐(0) 编辑

导航