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