摘要: poll提供的功能与select类似,不过在处理流设备时,它能够提供额外的信息。 #include <poll.h> int poll(struct pollfd fd[], nfds_t nfds, int timeout); 参数: 1)第一个参数:一个结构数组,struct pollfd结构如 阅读全文
posted @ 2017-03-11 00:10 毛小子 阅读(169) 评论(0) 推荐(0)