Mail Archives: djgpp/1999/04/05/20:40:36
From: | Vic <tudor AT cam DOT org>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | file locking
|
Date: | Mon, 05 Apr 1999 19:44:33 -0400
|
Organization: | Communications Accessibles Montreal, Quebec Canada
|
Lines: | 7
|
Message-ID: | <37094AE1.229A@cam.org>
|
NNTP-Posting-Host: | dialup-735.hip.cam.org
|
Mime-Version: | 1.0
|
X-Mailer: | Mozilla 3.0Gold (Win95; I)
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi. Sorry if this a C question...
I'd like to know more about how file locking works.
First of all, is there an ANSI file locking function (or posix)
or a fuction that works under UNIX GCC?
second of all, if you lock a file and another instance tries to write to
it, what happens? how can you see if a file or region is locked?
TIA,
- Raw text -