1 .\" Copyright (c) 2022 by Alejandro Colomar <alx@kernel.org>
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .TH epoll_event 3type (date) "Linux man-pages (unreleased)"
8 epoll_event, epoll_data, epoll_data_t
15 .B #include <sys/epoll.h>
17 .B struct epoll_event {
18 .BR " uint32_t events;" " /* Epoll events */"
19 .BR " epoll_data_t data;" " /* User data variable */"
29 .B "typedef union epoll_data epoll_data_t;"
34 structure specifies data that the kernel should save and
35 return when the corresponding file descriptor becomes ready.
37 This type is Linux-specific.
39 .SS C library/kernel differences
40 The Linux kernel headers also provide this type,
41 with a slightly different definition:
45 #include <linux/eventpoll.h>