summaryrefslogtreecommitdiff
path: root/include/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lock.h')
-rw-r--r--include/lock.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/lock.h b/include/lock.h
new file mode 100644
index 0000000..74df4c9
--- /dev/null
+++ b/include/lock.h
@@ -0,0 +1,14 @@
+#ifndef LOCK_H
+#define LOCK_H
+
+/**
+ @file lock.h
+ @author djb, feh
+ @source s/qmail
+*/
+
+int lock_ex(int);
+int lock_un(int);
+int lock_exnb(int);
+
+#endif