| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 10 Apr 1997 20:17:47 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| To: | Michael Bukin <bukinm AT inp DOT nsk DOT su> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Desperately need help with "fopen" |
| In-Reply-To: | <5ihqle$48j@sky.inp.nsk.su> |
| Message-ID: | <Pine.SUN.3.91.970410201548.3026L-100000@is> |
| MIME-Version: | 1.0 |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |