Chdir Chxdir change directory chdir char *dirname chxdir char *dirname Assembler Equivalent os9 I$CHGDIR Description These calls change the current data directory and the current execution directory, respectively, for the running task. "Dirname" is a pointer to a string that gives a pathname for a directory. Diagnostics Each call returns 0 after a successful call, or -1 if "dirname" is not a directory path name, or it is not searchable. See Also OS-9 shell commands "chd" and "chx".