Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!mintaka!jtw From: jtw@lcs.mit.edu (John Wroclawski) Newsgroups: comp.sys.mips Subject: file locking Message-ID: Date: 10 Dec 90 17:39:16 GMT Sender: daemon@mintaka.lcs.mit.edu (Lucifer Maleficius) Distribution: comp Organization: MIT Home for Wayward Triumphs Lines: 28 (RISC/OS 4.51) The flock() man page says flock is emulated using the fcntl(2) mechanism and so file locks obtained through the fcntl(2) and lockf(3) mechanisms interact with those acquired via flock. and the fcntl() man page says File locks obtained through the fcntl mechanism interact with those acquired via flock(2) and lockf(3). but the lockf() man page says File locks obtained through the lockf mechanism do not interact in any way with those acquired via flock(2). They do, however, work correctly with the locks claimed by fcntl(2). Unfortunately, I suspect the lockf() page is right, and the others describe a good idea that didn't get done. Anyone know what's really going on here? -john jtw@lcs.mit.edu