Interoperation of flock(2), fcntl(2), and lockf(3)

Yar Tikhiy yar at comp.chem.msu.su
Mon May 17 16:28:32 PDT 2004


On Sat, May 15, 2004 at 01:00:13PM +0200, Cyrille Lefevre wrote:
> "Yar Tikhiy" <yar at comp.chem.msu.su> wrote:
> [snip]
> > Considering all the above, I'd like to add the following paragraph
> > to the flock(2), lockf(3), and fcntl(2) man pages (replacing the
> > sentence quoted from lockf(3)):
> > 
> > The flock(2), fcntl(2), and lockf(3) locks are compatible.
> > Processes using different locking interfaces can cooperate
> > over the same file safely.  However, only one of such
> > interfaces should be used within a process.  If a file is
> 
> s/a process/the same process/ ?

Agreed, thanks!

BTW, since no objections were raised and Kirk encouraged me to make
the change (thank you Kirk!), I just did so.

-- 
Yar


More information about the freebsd-hackers mailing list