GW> I agree that it's useful, especially as there are no major extensions
GW> to the MS/PCDOS interface since DOS 3.3, [...]
I'd say that the new file open API introduced in DOS 4.0 is "major". The
ability to create a file *and* specify a sharing mode in one atomic operation
is very useful for LANs.
The only problem is that most DOS C libraries' implementations of fopen()
have never been updated to use this new function, and still use a CREAT/OPEN
pair, complete with race conditions. (The C library that I wrote used the
DOS 4.0 API, of course.)
¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)
|