From: bukinm AT inp DOT nsk DOT su (Michael Bukin) Newsgroups: comp.os.msdos.djgpp Subject: Re: Desperately need help with "fopen" Date: 11 Apr 1997 04:11:11 GMT Organization: BINP SD RAS Message-ID: <5ikdkv$lad@sky.inp.nsk.su> References: Reply-To: bukinm AT inp DOT nsk DOT su NNTP-Posting-Host: h-bukin.inp.nsk.su Lines: 10 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > >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? It works with both open and _open.