summaryrefslogtreecommitdiff
path: root/prober/sniff_sem_value_max.c
diff options
context:
space:
mode:
Diffstat (limited to 'prober/sniff_sem_value_max.c')
-rw-r--r--prober/sniff_sem_value_max.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/prober/sniff_sem_value_max.c b/prober/sniff_sem_value_max.c
new file mode 100644
index 0000000..37b4004
--- /dev/null
+++ b/prober/sniff_sem_value_max.c
@@ -0,0 +1,7 @@
+// The location of this constant varies.
+
+#include <semaphore.h>
+#include <limits.h>
+
+int main(void) { return SEM_VALUE_MAX; }
+