Hi Jonathan,
JDBP> GW> I agree that it's useful, especially as there are no major
extensions
JDBP> GW> to the MS/PCDOS interface since DOS 3.3, [...]
JDBP>I'd say that the new file open API introduced in DOS 4.0 is
JDBP>"major". The ability to create a file *and* specify a
JDBP>sharing mode in one atomic operation is very useful for
JDBP>LANs.
Which API is that? Int 21 Function 6Ch?
JDBP>The only problem is that most DOS C libraries' implementations of
JDBP>fopen() have never been updated to use this new function, and
JDBP>still use a CREAT/OPEN pair, complete with race conditions.
JDBP>(The C library that I wrote used the DOS 4.0 API, of course.)
According to Ralf Brown's interrupt list there are problems with that
API on LANS using the INT 2F redirector. Maybe that's why the compiler
library writers avoid it, as well as the backwards compatibility.
I've posted the full details locally to avoid moderator wrath.
George
* SLMR 2.1a * Wastebasket: Something to throw things near.
--- Maximus/2 3.01
---------------
* Origin: DoNoR/2,Woking UK (44-1483-717905) (2:440/4)
|