[][src]Function nc::creat

pub fn creat(filename: &str, mode: mode_t) -> Result<i32, Errno>

Create a file. equals to call open() with flags O_CREAT|O_WRONLY|O_TRUNC.