Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* flock/lockf under DU
@ 1998-10-30  5:00 Massimo Gais
  1998-10-30  5:00 ` Eric Werme - replace nospam with werme
  0 siblings, 1 reply; 3+ messages in thread
From: Massimo Gais @ 1998-10-30  5:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-11-15  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-30  5:00 flock/lockf under DU Massimo Gais
1998-10-30  5:00 ` Eric Werme - replace nospam with werme
1998-11-15  5:00   ` Mike harrelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox