epoll_ctl详解
epoll_ctl,用于操作epoll函数所生成的实例。 #include int epoll_ctl(int epfd,int op,int fd,struct epoll_event * event); 该系统调用对文件描述符epfd引用的epoll实例执行控制操作。它要求操作op对目标文件描述符fd执行。 op参数的有效值为: EPOLL_CTL_ADD:在文件描述符epfd所引用的epoll实例上注册目标文件描述......