From: ianmdlvl Date: Sun, 13 Jul 2003 22:43:03 +0000 (+0000) Subject: see also, minor fixes X-Git-Tag: rel-4-0-0~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=96a52626477c6a90f8ae365ddaff0155faa0a8ab;p=chiark-utils.git see also, minor fixes --- 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)