diff options
Diffstat (limited to 'include/bits/sigevent.h')
| -rw-r--r-- | include/bits/sigevent.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/bits/sigevent.h b/include/bits/sigevent.h new file mode 100644 index 00000000..b36e676c --- /dev/null +++ b/include/bits/sigevent.h @@ -0,0 +1,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 |
