Mail Archives: djgpp/1993/06/30/12:15:51
(I lost the attribution of the guy who suggested a libunix.a with wrapper
functions for _dos_function(), but following up on his idea:)
Since the primary purpose of DJGPP is to port Unix software to DOS (I'm
sure some will object to this assertion...), I think the default names ought to
get functions with Unix-like behavior. Versions that give behavior
unique to DOS ought to have the _dos_ prefix. This follows the trend, BTW,
in, e.g., Microsoft C, wherer all the DOS specific stuff has the _dos_
prefix.
Thus, if you want a version of getcwd() that returns a drive letter, you
are just going to have to call _dos_getcwd().
- Raw text -