aboutsummaryrefslogtreecommitdiff
path: root/libc/include/llvm-libc-types/struct_epoll_data.h
blob: 7200276a141e56d0aee1f2664c5977ed4f306944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//===-- Definition of epoll_data type -------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIBC_TYPES_STRUCT_EPOLL_DATA_H
#define LLVM_LIBC_TYPES_STRUCT_EPOLL_DATA_H

union epoll_data {
  void *ptr;
  int fd;
  __UINT32_TYPE__ u32;
  __UINT64_TYPE__ u64;
};

typedef union epoll_data epoll_data_t;

#endif // LLVM_LIBC_TYPES_STRUCT_EPOLL_DATA_H