Date: Wed, 30 Jun 93 10:54:47 CDT From: "Jeremy Mathers" To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: The continuing saga of getcwd() (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().