From: assar@sics.se (Assar Westerlund)
Subject: Re: flock ??
9 Feb 1997 01:53:43 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <5l3ev6wf2p.fsf.cygnus.gnu-win32@assaris.sics.se>
References: <Pine.LNX.3.93.970206145659.14411B-100000@deepsea.sys.web-uk.net>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII
Original-To: Nigel Rantor <wiggly@bogo.co.uk>
Original-Cc: gnu-win32@cygnus.com
In-Reply-To: Nigel Rantor's message of Thu, 6 Feb 1997 15:03:06 +0000 (GMT)
X-Mailer: Gnus v5.2.40/Emacs 19.34
Original-Sender: owner-gnu-win32@cygnus.com

Nigel Rantor <wiggly@bogo.co.uk> writes:
> Hmm, ok, simple question, is there flock? I have looked around the include
> files and can't find it. I know that Win32 can do it because I have seen
> the stuff about locking/lock/unlock and the whole issue of DOS machines
> required to load share.exe to use those features. My question is whether
> or not we have the UNIX calls or whether I would have to find out what the
> correct Win32 ones are.

There's no flock.  Use posix-style locking with fcntl instead.

/assar
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
