This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: flock ??


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]