delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/15/12:00:28

From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Q?on sharing/locking files
Date: Mon, 15 Dec 1997 12:22:31 +0100
Organization: University of Ghent, Belgium
Lines: 14
Message-ID: <349512F7.617F@rug.ac.be>
NNTP-Posting-Host: eduserv1.rug.ac.be
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

The following question specifically applies to DJGPP:
Can I expect that when I manage to open a file for writing with fopen,
that writing is inhibited by all other accesses to this file? Or should
I lock the file, but how do I do this portably?
The same question for open.

Does the ANSI/POSIX standard enforce here something? Does DJGPP comply?

-- 
 \ Vik /-_-_-_-_-_-_/   
  \___/ Heyndrickx /          
   \ /-_-_-_-_-_-_/

- Raw text -


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