11 2015 档案
摘要:select函数用于在非阻塞中,当一个套接字或一组套接字有信号时通知你,系统提供select函数来实现多路复用输入/输出模型,原型:include <sys/time.h include <unistd.h int select(int maxfd,fd_set rdset,fd_set wrset...
阅读全文
摘要://// include <stdio.h include <linux/input.h include <stdlib.h include <sys/types.h include <sys/stat.h include <fcntl.h define DEV_PATH "/dev/...
阅读全文
浙公网安备 33010602011771号