Date: Thu, 10 Apr 1997 20:17:47 +0300 (IDT) From: Eli Zaretskii To: Michael Bukin cc: djgpp AT delorie DOT com Subject: Re: Desperately need help with "fopen" In-Reply-To: <5ihqle$48j@sky.inp.nsk.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 10 Apr 1997, Michael Bukin wrote: > filename = (_argc > 1) ? _argv[1] : "test.txt"; > if (_dos_open (filename, O_RDONLY | SH_DENYNO, &handle)) Could you please see if the same works with `_open' instead of `_dos_open' if you use the same sharing flags? > BTW, Emacs for dos can't open files already opened in Word > (at least, not on my machine). I would expect so, since `fopen' calls `open' internally, and Emacs calls `open' to read a file.