chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various Debian fixes.
[mLib]
/
man
/
lock.3
diff --git
a/man/lock.3
b/man/lock.3
index 68aebea35cc78ae76560e6e00affdc2ea59947a7..2ef78605123751bd3a9578909de10abccb3dbbe8 100644
(file)
--- a/
man/lock.3
+++ b/
man/lock.3
@@
-1,10
+1,11
@@
.\" -*-nroff-*-
.\" -*-nroff-*-
-.TH lock 3
mLib "23 May 1999" mLib
+.TH lock 3
"23 May 1999" "Straylight/Edgeware" "mLib utilities library"
.SH NAME
lock \- oversimplified file locking interface
.SH NAME
lock \- oversimplified file locking interface
+.\" @lock_file
.SH SYNOPSIS
.nf
.SH SYNOPSIS
.nf
-.B "#include <mLib/lock.h>
+.B "#include <mLib/lock.h>
"
.BI "int lock_file(int " fd ", unsigned " how );
.fi
.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 .
.B errno
is set to
.BR EINTR .
+.SH "SEE ALSO"
+.BR fcntl (2),
+.BR mLib (3).
.SH AUTHOR
Mark Wooding, <mdw@nsict.org>
.SH AUTHOR
Mark Wooding, <mdw@nsict.org>