Functions HI-TECH C GETCWD
GETCWD (MS-DOS only)
SYNOPSIS
#include <sys.h> char * getcwd(int drive)
DESCRIPTION
Getcwd() returns the path name of the current working directory on the specified drive, where drive == 0 represents the current drive, drive == 1 represents A:, drive == 2 represents B: etc. The return value is a pointer to a static area of memory which will be overwritten on the next call to getcwd().
SEE ALSO
chdir