#: 20699 S12/OS9/68000 (OSK)
12-Jan-95 10:47:15
Sb: #20698-unix functions
Fm: Pete Lyall 76703,4230
To: Bob van der Poel 76510,2203 (X)
I'm guessing the lock would be placed at wherever the current file pointer is..
You could seek to any part of the file, and apply the lock.
In the case of question 2, I have no idea. Guessing, but even OS9 has blocking
and non-blocking locks. You can read a file that has an EOF lock on it (up to
the lock, of course), but you can't read a file that has a locksize of
0xffffffff applied, etc.
|