summaryrefslogtreecommitdiff
path: root/sigevent.h
blob: 85fd684713f38833da7efd9e79d0991f8ce1d163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io>
 * All rights reserved.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef STRACE_SIGEVENT_H
# define STRACE_SIGEVENT_H

typedef struct {
	union {
		int sival_int;
		void *sival_ptr;
	} sigev_value;
	int sigev_signo;
	int sigev_notify;
	union {
		int tid;
		struct {
			void *function;
			void *attribute;
		} sigev_thread;
	} sigev_un;
} struct_sigevent;

#endif /* !STRACE_SIGEVENT_H */