pub unsafe fn syscall_chdir(path: &CStr) -> Result<(), SyscallError>
This function assumes that path is a valid C string.
path