Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!204.73.178.32!chippy.visi.com!news-out.visi.com!news.maxwell.syr.edu!eerie.fr!alma.fr!oleane!weld.news.pipex.net!pipex!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: gcc and lockf Date: 14 May 1997 09:46:41 GMT Organization: Awfulhak Ltd. Lines: 15 Message-ID: <5lc1m1$h6f@ui-gate.utell.co.uk> References: <01bc6039$e6f2b780$c90a0ac8@adam> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40828 In article <01bc6039$e6f2b780$c90a0ac8@adam>, "Adam Bisbe" <adam@nexus.es> writes: > Hi: > > I need a c function called "lockf" and cannot find it on the distribution, > could someone tell me which library I have to install to get it. (Its a > function that locks a part of a file). > Thank you You want flock(2) or fcntl(2). -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !