home *** CD-ROM | disk | FTP | other *** search
- I wrote this because I'm sick of dealing with different locking
- syntax and locking semantics depending on the machine the code is
- running on. BTW, this should be considered an Alpha release.
-
- These are convenience routines which implement file locking in standard
- ways regardless of the method selected within the particular operating
- system. Currently `supported' are fcntl(), lockf(), and flock() style
- locking. The code has been developed and `tested' on a Sun
- SPARCstation 1 under SunOS 4.1. It has also been `tested' under SCO
- Xenix 2.3.2 and `passes', except that lockf() style locking sets errno
- to EAGAIN rather than EACCES, as it does on the Sun. I haven't
- `fixed' it because I think that SCO's errno value is wrong and I feel
- like being perverse today.
-
- The routine `test-lock.c' is a half-assed test driver. `do-test.sh'
- causes a variety of test to be performed - the results are saved in
- test.log.
-
- If anyone is interested in building up these routines into something
- solid for the purpose of porting, send me diffs. If the interest is
- wide enough I will attempt to coordinate revisions and will publish
- through comp.sources.misc.
-
- Mike Howard
- how%milhow1@uunet.uu.net
-