原创 epoll模型中struct epoll_event中data聯合體的用法

在epoll模型中使用了一個struct epoll_event的結構體: typedef union epoll_data { void *ptr; int