🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #960

need #defines to make flock use lockf

#960
From: Paul Pomes - UofIllinois CSO
Date: Tue, 02 Oct 1990 21:36
11 lines
929 bytes
I have a program that makes use of flock() scattered around several files.
Rather than cluttering the code with #ifdefs for both flock() and lockf(),
I'd like to redefine the flock calls in a common include file to use lockf
instead when #ifndef BSD is true.  Has anyone already created such a beast?

/pbp
--
         Paul Pomes

UUCP: {att,iuvax,uunet}!uiucuxc!paul   Internet, BITNET: paul@uxc.cso.uiuc.edu
US Mail:  UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL  61801-2910
Technical Details
Message-ID: <1990Oct2.213652.20025@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!paul

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!paul
From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO)
Newsgroups: comp.unix.programmer
Subject: need #defines to make flock use lockf
Message-ID: <1990Oct2.213652.20025@ux1.cso.uiuc.edu>
Date: 2 Oct 90 21:36:52 GMT
Sender: news@ux1.cso.uiuc.edu (News)
Organization: University of Illinois at Urbana
Lines: 11