摘要:
使用到主要函数有:#include int epoll_create(int size);int epoll_create1(int flags);int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event);int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout);typedef union epoll_data { void *ptr; int fd; uint32_t u32; uint64_t u64;}... 阅读全文