Warning: This file is not a C or C++ file. It does not have highlighting.

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
14typedef 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

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of libc/include/llvm-libc-types/struct_epoll_event.h