Changes the default directory. Format #include <unistd.h> int chdir (const char *dir_spec); (ISO POSIX-1) int chdir (const char *dir_spec, . . . ); (DEC C Extension)