Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!news.onramp.net!home!betts From: betts@onramp.net (Jeff Betts) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Anyone using fcntl() to emulate lockf()? Date: Sat, 27 Jan 1996 14:31:14 UNDEFINED Organization: On-Ramp; Individual Internet Connections; Dallas/Ft Worth/Houston, TX USA Lines: 14 Message-ID: <betts.144.19DF4621@onramp.net> NNTP-Posting-Host: lbj01.onramp.net X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #1] I'm porting a project from an old SysV platform to FreeBSD 2.0R which doesn't have lockf(). Before I write my own lockf() that calls fcntl(), I thought I better ask if anyone else has already done this (or has a better idea) before I reinvent the wheel. Comments, feedback, shared code all appreciated. Flames feared like the plague. Jeff Betts