Change the current working directory.
Integer_Type chdir (String_Type dir)
The chdir function may be used to changed the current working directory to the directory specified by dir. Upon success it returns zero; however, upon failure it returns -1 and sets errno accordingly.