summaryrefslogtreecommitdiff
path: root/bits/types/sigevent_t.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:23:01 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:23:01 +0000
commit519f6620457d9f84d0125c0c7d01abebaae8efaa (patch)
tree28e2b20214b72aa7a633a5910dba7d2388620a78 /bits/types/sigevent_t.h
parent74f331b3ccf81cf9404be03e62bde9efcc0878c2 (diff)
parent68e2fa8ed9dbf0edfdaed0310801e764c12af46e (diff)
Merge commit 'refs/top-bases/t/libc_cleanup' into t/libc_cleanup
Diffstat (limited to 'bits/types/sigevent_t.h')
-rw-r--r--bits/types/sigevent_t.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/bits/types/sigevent_t.h b/bits/types/sigevent_t.h
new file mode 100644
index 0000000000..5611268610
--- /dev/null
+++ b/bits/types/sigevent_t.h
@@ -0,0 +1,17 @@
+#ifndef __sigevent_t_defined
+#define __sigevent_t_defined 1
+
+#include <bits/types.h>
+#include <bits/types/__sigval_t.h>
+
+/* Structure to transport application-defined values with signals. */
+typedef struct sigevent
+ {
+ __sigval_t sigev_value;
+ int sigev_signo;
+ int sigev_notify;
+ void (*sigev_notify_function) (__sigval_t); /* Function to start. */
+ void *sigev_notify_attributes; /* Really pthread_attr_t.*/
+ } sigevent_t;
+
+#endif