From owner-freebsd-current Sun Jul 19 00:14:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09847 for freebsd-current-outgoing; Sun, 19 Jul 1998 00:14:24 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09842 for ; Sun, 19 Jul 1998 00:14:21 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id QAA00897; Sun, 19 Jul 1998 16:43:49 +0930 (CST) Message-ID: <19980719164349.I435@freebie.lemis.com> Date: Sun, 19 Jul 1998 16:43:49 +0930 From: Greg Lehey To: Rudolf Schreiner , brian@worldcontrol.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: Where is F_LOCK defined? References: <19980715140148.A10804@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Rudolf Schreiner on Thu, Jul 16, 1998 at 12:25:22AM +0200 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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