summaryrefslogtreecommitdiff
path: root/src/sys/sem/struct_sem_anonymous.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/sem/struct_sem_anonymous.h')
-rw-r--r--src/sys/sem/struct_sem_anonymous.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sys/sem/struct_sem_anonymous.h b/src/sys/sem/struct_sem_anonymous.h
new file mode 100644
index 00000000..f4054a1d
--- /dev/null
+++ b/src/sys/sem/struct_sem_anonymous.h
@@ -0,0 +1,12 @@
+#include <sys/sem.h>
+
+struct __sem_anonymous {
+ unsigned short semval;
+ pid_t sempid;
+ unsigned short semncnt;
+ unsigned short semzcnt;
+};
+
+/*
+XOPEN(4)
+*/