1 //===-- Definition of epoll_event type ------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_LIBC_TYPES_STRUCT_EPOLL_EVENT_H 10 #define LLVM_LIBC_TYPES_STRUCT_EPOLL_EVENT_H 11 12 #include "struct_epoll_data.h" 13 14 typedef struct 15 #ifdef __x86_64__ 16 [[gnu::packed]] // Necessary for compatibility. 17 #endif 18 epoll_event { 19 __UINT32_TYPE__ events; 20 epoll_data_t data; 21 } epoll_event; 22 23 #endif // LLVM_LIBC_TYPES_STRUCT_EPOLL_EVENT_H 24