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: Mime-Version: 1.0 (generated by tm-edit 7.68) Content-Type: text/plain; charset=US-ASCII Original-To: Nigel Rantor 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 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".