pub fn open(path: &str) -> Result<Ri, ErrorStatus>
Opens the path path and returns the resource id of the file descriptor
path
see sysopen for underlying syscall
sysopen