delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/21/13:05:29

Date: Sat, 21 Apr 2001 20:02:09 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Radical NetSurfer <radsmail AT juno DOT com>
Message-Id: <9003-Sat21Apr2001200209+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <q142et86haqtgeileohcgemoni9bctv9mf@4ax.com> (message from
Radical NetSurfer on Sat, 21 Apr 2001 00:44:50 -0400)
Subject: Re: Detecting File in Use?
References: <q142et86haqtgeileohcgemoni9bctv9mf AT 4ax DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Radical NetSurfer <radsmail AT juno DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 21 Apr 2001 00:44:50 -0400
> 
> How does one know if a file is ALREADY in USE by
> some application BEFORE any actual attempt to open
> or access that file?

Why do you need that?  Could you please explain the problem in more
detail?  Trying to open a file, detecting the failure to open, and
looking at the value of `errno' to see what was the reason for the
failure is the normal procedure, but you seem to imply that it somehow
doesn't work for you.

- Raw text -


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