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

Roger Lacroix
Capitalware Inc.

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

Reply via email to