Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 1998 16:43:49 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Rudolf Schreiner <ras@muc.de>, brian@worldcontrol.com
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Where is F_LOCK defined?
Message-ID:  <19980719164349.I435@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.91.980716001423.7554C-100000@phobos.muc.de>; from Rudolf Schreiner on Thu, Jul 16, 1998 at 12:25:22AM %2B0200
References:  <19980715140148.A10804@top.worldcontrol.com> <Pine.BSF.3.91.980716001423.7554C-100000@phobos.muc.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 16 July 1998 at  0:25:22 +0200, Rudolf Schreiner wrote:
> On Wed, 15 Jul 1998 brian@worldcontrol.com wrote:
> 
> > Where is F_LOCK or F_ULOCK defined?
> 
> That's SYSV style record locking, check lockf(3C) e.g. on Solaris 2.6.
> Lockf is not supported by BSD, I had the same problem when I ported 
> SESAME to FreeBSD (2.2.6). I used the lockf function from glibc, it seems to 
> work.

lockf(3) was added to -CURRENT about the 8th July.  The definitions
are in unistd.h.

Greg
-- 
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980719164349.I435>