From 96a52626477c6a90f8ae365ddaff0155faa0a8ab Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Sun, 13 Jul 2003 22:43:03 +0000 Subject: [PATCH] see also, minor fixes --- cprogs/with-lock-ex.1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/cprogs/with-lock-ex.1 b/cprogs/with-lock-ex.1 index 63ac832..f83f263 100644 --- a/cprogs/with-lock-ex.1 +++ b/cprogs/with-lock-ex.1 @@ -16,7 +16,7 @@ unlocked automatically by the kernel. .PP If the file does not exist it is created, with permissions .B rw -for each user class for which the default umask has +for each user class for which the umask has .BR w . .SH OPTIONS .TP @@ -99,6 +99,14 @@ and deleted the file in the meantime; you must now close your filedescriptor and start again. .B with-lock-ex follows this specification. +.PP +Note that +.BR flock (2) +is a different kind of lock to +.BR fcntl (2). +.B with-lock-ex +uses +.BR fcntl . .SH AUTHOR This Manual page was written by Matthew Vernon and enhanced by Ian Jackson , in 2003, but @@ -107,3 +115,7 @@ may be used by anyone. with-lock-ex was written by Ian Jackons in 1993, 1994, 1995, 1996, 1998, 1999. He has placed it in the public domain. +.SH "SEE ALSO" +.BR fcntl (2), +.BR flock (2), +.BR chmod (2) -- 2.30.2