chiark / gitweb /
Add global unihash table; use universal hashing instead of CRC.
[mLib] / man / lock.3
index 68aebea35cc78ae76560e6e00affdc2ea59947a7..2ef78605123751bd3a9578909de10abccb3dbbe8 100644 (file)
@@ -1,10 +1,11 @@
 .\" -*-nroff-*-
-.TH lock 3mLib "23 May 1999" mLib
+.TH lock 3 "23 May 1999" "Straylight/Edgeware" "mLib utilities library"
 .SH NAME
 lock \- oversimplified file locking interface
+.\" @lock_file
 .SH SYNOPSIS
 .nf
-.B "#include <mLib/lock.h>
+.B "#include <mLib/lock.h>"
 
 .BI "int lock_file(int " fd ", unsigned " how );
 .fi
@@ -53,5 +54,8 @@ is set to an appropriate value.  Most of the error returns are from
 .B errno
 is set to
 .BR EINTR .
+.SH "SEE ALSO"
+.BR fcntl (2),
+.BR mLib (3).
 .SH AUTHOR
 Mark Wooding, <mdw@nsict.org>