Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Gleb O. Raiko" <rajko@cecmow.enet.dec.com>
To: "j4823274@redgum.bendigo.latrobe.edu.au"@vbormc.vbo.dec.com
Subject: Re: Can't use flock()
Date: 1996/09/25	[thread overview]
Message-ID: <3248E9DA.41C6@cecmow.enet.dec.com> (raw)
In-Reply-To: 51loa8$3f5@sheoak.bendigo.latrobe.edu.au


Spud wrote:
>         Has anyone done any file locking on OSF/1 (V3.2 214.61 alpha) using
> flock() and C++? The problem is when using C++, the flock struct is defined
> which conflicts with the flock() system call. The same problem exists on IRIX,
> but you can get around that by defining _BSD_COMPAT.


::flock( ... ) should work pretty fine. Remeber :: prefix in C++ means
you call function
rather than method of any class. See grey book for more info.

Regards,
Gleb.



      reply	other threads:[~1996-09-25  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-17  4:00 Can't use flock() Spud
1996-09-25  4:00 ` Gleb O. Raiko [this message]
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