Next Previous Contents

22. chdir

Synopsis

Change the current working directory.

Usage

Integer_Type chdir (String_Type dir)

Description

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

See Also

mkdir, stat_file


Next Previous Contents