Struct redox::fs::File
[−]
[src]
pub struct File { // some fields omitted }
A Unix-style file
Methods
impl File
fn exec(path: &str) -> bool
fn open(path: &str) -> Option<File>
Open a new file using a path
fn create(path: &str) -> Option<File>
Create a new file using a path
fn dup(&self) -> Option<File>
Duplicate the file
fn path(&self) -> Option<String>
Get the canonical path of the file
fn sync(&mut self) -> bool
Flush the io