open

Function open 

Source
pub fn open(path: &str, options: OpenOptions) -> Result<Ri, ErrorStatus>
Expand description

Opens the file with the path path with a given mode (permissions and flags), returns the resource id of the file descriptor

see sysopen for underlying syscall