Functions HI-TECH C CHDIR

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