delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/09/01:53:43

From: assar AT sics DOT se (Assar Westerlund)
Subject: Re: flock ??
9 Feb 1997 01:53:43 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <5l3ev6wf2p.fsf.cygnus.gnu-win32@assaris.sics.se>
References: <Pine DOT LNX DOT 3 DOT 93 DOT 970206145659 DOT 14411B-100000 AT deepsea DOT sys DOT web-uk DOT net>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Original-To: Nigel Rantor <wiggly AT bogo DOT co DOT uk>
Original-Cc: gnu-win32 AT cygnus DOT 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 AT cygnus DOT com

Nigel Rantor <wiggly AT bogo DOT co DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019