[comp.unix.internals] Record locking in BSD 4.3

balki@ncst.ernet.in (TATA CONSULTANCY SERVICES) (06/27/91)

THE ENVIRONMENT
===============
This query is regarding availability of 'record locking facility' 
on BSD ver 4.3 running on ELXSI 6400 ( EMBOS ver 13.0 ).BSD 4.3 
provides only 'file-locking' by flock().There is no lockf() subroutine 
(which provides record locking) as in ATT-UNIX ver 5.2 also running 
on ELXSI 6400.

THE QUERIES
===========
1. Can a 'lockf()' subroutine be developed for BSD 4.3 ?
   The att lockf() uses fcntl() system call which is quite different 
   in functionality from the bsd unix fcntl() .

2. Alternatively is a lock server (external to the kernel) available
   which can simulate the full functionality of the att 5.2 lockf()
   system call.This should be able to work in the BSD 4.3 environment.

WHY IS THIS REQUIRED
====================
We require this to port an ISAM package from att to bsd nuix.This 
package  uses the lockf() system call.