fn open(&self, args_ptr: usize) {
		unsafe {
			let sysopen = &mut *(args_ptr as *mut SysOpen);
			sysopen.ret = libc::open(
				self.host_address(sysopen.name as usize) as *const i8,
				sysopen.flags,
				sysopen.mode,
			);
		}
	}
/// Handles an open syscall by opening a file on the host.
Handles an open syscall by opening a file on the host.
Handles an open syscall by opening a file on the host .
fn open(&self, args_ptr: usize) {
		unsafe {
			let sysopen = &mut *(args_ptr as *mut SysOpen);
			sysopen.ret = libc::open(
				self.host_address(sysopen.name as usize) as *const i8,
				sysopen.flags,
				sysopen.mode,
			);
		}
	}
fn open ( & self , args_ptr : usize ) { unsafe { let sysopen = & mut * ( args_ptr as * mut SysOpen ) ; sysopen . ret = libc :: open ( self . host_address ( sysopen . name as usize ) as * const i8 , sysopen . flags , sysopen . mode , ) ; } }
Handles an open syscall by opening a file on the host.
Handles an open syscall by opening a file on the host .
&self
args_ptr
usize
&self
args_ptr
usize