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

#ifndef __BITS_SIGEVENT_H_
#error "Internal header — include the public API header instead."
#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