1 /*
2 * Copyright (c) 2016-2021 Dmitry V. Levin <ldv@strace.io>
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7
8 #ifndef STRACE_SIGEVENT_H
9 # define STRACE_SIGEVENT_H
10
11 typedef struct {
12 union {
13 int sival_int;
14 void *sival_ptr;
15 } sigev_value;
16 int sigev_signo;
17 int sigev_notify;
18 union {
19 int tid;
20 struct {
21 void *function;
22 void *attribute;
23 } sigev_thread;
24 } sigev_un;
25 } struct_sigevent;
26
27 #endif /* !STRACE_SIGEVENT_H */