Searched refs:O_WRONLY (Results 1 – 9 of 9) sorted by relevance
16 #define O_WRONLY 00000001 // Open Write-only29 #define O_TRUNC 00001000 // 文件存在且是普通文件,并以O_RDWR或O_WRONLY打开,则它会被清空
14 #define O_WRONLY 00000001 // Open Write-only macro
18 #define O_WRONLY 00000001 // Open Write-only macro
22 let write_file = File::new(pipe_ptr.clone(), FileMode::O_WRONLY); in do_pipe()
79 o_flags = O_WRONLY; in fopen()
41 const O_WRONLY = 0o1; constant207 if self.mode == FileMode::O_WRONLY { in readable()
243 && (mode.contains(FileMode::O_RDWR) || mode.contains(FileMode::O_WRONLY)) in do_open()
414 File::new(tty_inode.clone(), FileMode::O_WRONLY).expect("Init stdio: can't create stdout"); in init_stdio()415 let stderr = File::new(tty_inode.clone(), FileMode::O_WRONLY | FileMode::O_SYNC) in init_stdio()
127 } else if accmode == FileMode::O_WRONLY.accmode() { in open()