summaryrefslogtreecommitdiff
path: root/include/bits/sigevent.h
blob: ddf4c4d7524c3a76262ab3b94c36a2b0210918a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __BITS_SIGEVENT_H
#define __BITS_SIGEVENT_H

#ifndef __BITS_SIGEVENT_H_
#error "Internal header — include the public API header instead."
#else
#undef __BITS_SIGEVENT_H_
#endif

union sigval {
	int sival_int;
	void *sival_ptr;
};

struct sigevent {
	int sigev_notify;
	int sigev_signo;
	union sigval sigev_value;
	void (*sigev_notify_function)(union sigval);
};

#endif