-

Difference between revisions of "Functions HI-TECH C CHDIR"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>CHDIR</strong> ==SYNOPSIS== #include <sys.h> int chdir(char * s) ==DESCRIPTION== This function is availble only under MS-DOS. It changes the current working di...")
 
(No difference)

Latest revision as of 18:32, 31 July 2017

CHDIR

SYNOPSIS

#include  <sys.h>

int chdir(char * s)


DESCRIPTION

This function is availble only under MS-DOS. It changes the current working directory to the path name supplied as argument. This path name be be absolute, as in A:\FRED, or relative, as in ..\SOURCES. A return value of -1 indicates that the requested change could not be performed.

SEE ALSO

mkdir, rmdir, getcwd