From: Massimo Gais <mgais@na.astro.it>
Subject: flock/lockf under DU
Date: 1998/10/30 [thread overview]
Message-ID: <36397876.693A0DB2@na.astro.it> (raw)
Hello,
I'd like to now what's the best function to call under DU (4.0)
between flock() and lockf();
I have to fopen() the mail spoolfile for reading, but if I
another process has already locked with flock() the fopen()
simple doesn't care...
I was thinking this way because DU should be a BSD-derivative Unix,
so it should at first use flock(), not lockf().
Any explaination about this argument is very welcome.
TIA,
Massimo Gais <mgais@na.astro.it>
----
"640K ought to be enough for anybody."
-- Bill Gates, 1981
next reply other threads:[~1998-10-30 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-30 5:00 Massimo Gais [this message]
1998-10-30 5:00 ` flock/lockf under DU Eric Werme - replace nospam with werme
1998-11-15 5:00 ` Mike harrelson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox