chiark / gitweb /
@@@ wip type definitions in manpage synopses
[mLib] / sys / lock.3
index 75460b4800d61a3d9154a0fca4fa3d9f993d985a..2d80fada3adb8006aacc720fd0e3ef8d39d7dc33 100644 (file)
@@ -7,6 +7,12 @@ lock \- oversimplified file locking interface
 .nf
 .B "#include <mLib/lock.h>"
 
+.B "enum {"
+.B "\h'4n'LOCK_UNLOCK = ...,"
+.B "\h'4n'LOCK_EXCL = ...,"
+.B "\h'4n'LOCK_NONEXCL = ..."
+.B "};"
+
 .BI "int lock_file(int " fd ", unsigned " how );
 .fi
 .SH DESCRIPTION