xref: /llvm-project/libc/include/llvm-libc-types/struct_epoll_data.h (revision 330793c91d08e6ac60334e4813746db898b9407e)
1 //===-- Definition of epoll_data 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_DATA_H
10 #define LLVM_LIBC_TYPES_STRUCT_EPOLL_DATA_H
11 
12 union epoll_data {
13   void *ptr;
14   int fd;
15   __UINT32_TYPE__ u32;
16   __UINT64_TYPE__ u64;
17 };
18 
19 typedef union epoll_data epoll_data_t;
20 
21 #endif // LLVM_LIBC_TYPES_STRUCT_EPOLL_DATA_H
22