www.delorie.com/archives/browse.cgi | search |
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: | <Pine DOT SUN DOT 3 DOT 91 DOT 970410201548 DOT 3026L-100000 AT is> |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |