From owner-freebsd-questions Sun Jan 15 02:13:32 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id CAA13468 for questions-outgoing; Sun, 15 Jan 1995 02:13:32 -0800 Received: from toolshed.artschool.utas.edu.au (toolshed.artschool.utas.edu.au [131.217.85.5]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id CAA13454 for ; Sun, 15 Jan 1995 02:13:22 -0800 Received: from [192.168.85.4] (jack-home [192.168.85.4]) by toolshed.artschool.utas.edu.au (8.6.9/8.6.9) with SMTP id QAA02143 for ; Sun, 15 Jan 1995 16:03:48 +1100 Date: Sun, 15 Jan 1995 16:03:48 +1100 X-Sender: hart@131.217.85.5 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: freebsd-questions@FreeBSD.org From: hart@tasman.cc.utas.edu.au (Bill Hart) Subject: byte range locking (lockf) in FreeBSD 2.0 Sender: questions-owner@FreeBSD.org Precedence: bulk Hi, I'm trying to port an application (cap60) which works more reliably with lockf (byte range locking) as well as flock. Checking the manuals gives no entry for lockf, but there is an include file /usr/include/sys/lockf.h but this has a different structure and none of the same flags as on a Sun OS 4.1... Anybody have any ideas of a way to add lockf to the system or simulate its operation through another call ? Thanks in advance Bill Hart