Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dfcntl.md16 #define O_WRONLY 00000001 // Open Write-only
29 #define O_TRUNC 00001000 // 文件存在且是普通文件,并以O_RDWR或O_WRONLY打开,则它会被清空
/DragonOS-0.1.8/kernel/src/common/
Dfcntl.h14 #define O_WRONLY 00000001 // Open Write-only macro
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dfcntl.h18 #define O_WRONLY 00000001 // Open Write-only macro
/DragonOS-0.1.8/user/libs/libc/src/
Dstdio.c79 o_flags = O_WRONLY; in fopen()
/DragonOS-0.1.8/kernel/src/process/
Dprocess.rs362 File::new(tty_inode.clone(), FileMode::O_WRONLY).expect("Init stdio: can't create stdout"); in init_stdio()
363 let stderr = File::new(tty_inode.clone(), FileMode::O_WRONLY | FileMode::O_SYNC) in init_stdio()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dfile.rs41 const O_WRONLY = 0o1; constant
225 if self.mode == FileMode::O_WRONLY { in readable()
Dsyscall.rs169 && (mode.contains(FileMode::O_RDWR) || mode.contains(FileMode::O_WRONLY)) in open()
/DragonOS-0.1.8/kernel/src/ipc/
Dsyscall.rs33 let write_file = File::new(pipe_ptr.clone(), FileMode::O_WRONLY)?; in pipe()
/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs127 } else if accmode == FileMode::O_WRONLY.accmode() { in open()