-

Changes

Jump to: navigation, search

Functions HI-TECH C GETCWD

496 bytes added, 20:19, 31 July 2017
Created page with "<strong>GETCWD (MS-DOS only)</strong> ==SYNOPSIS== #include <sys.h> char * getcwd(int drive) ==DESCRIPTION== <strong>Getcwd</strong>() returns the path name of the..."
<strong>GETCWD (MS-DOS only)</strong>
==SYNOPSIS==

#include <sys.h>

char * getcwd(int drive)


==DESCRIPTION==
<strong>Getcwd</strong>() 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 <strong>getcwd</strong>().

==SEE ALSO==

chdir

Navigation menu