Roger,

It doesn't lock the file.  I tried it.

----- Original Message -----
From: "Roger Lacroix" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 16, 2004 6:38 PM
Subject: Re: off-topic question - exclusive file control


> Hi,
>
> I haven't tried this but you could open it for update.  i.e. "w" or "w+"
Hence
> the file should be locked (Again I haven't tried this.).
>
> Regards,
> Roger Lacroix
> Capitalware Inc.
> http://www.capitalware.biz
>
>
> Quoting Rick Tsujimoto <[EMAIL PROTECTED]>:
>
> > Is there a way to obtain a file lock using fopen (vs. open)?  I know
that
> > you can use lockf and fcntl, but I would like to use fopen.
> >
>
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to