Searched refs:O_WRONLY (Results 1 – 8 of 8) sorted by relevance
8 int fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main()15 fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main()
22 File::new(tty_inode.clone(), FileMode::O_WRONLY).expect("Init stdio: can't create stdout"); in stdio_init()23 let stderr = File::new(tty_inode.clone(), FileMode::O_WRONLY | FileMode::O_SYNC) in stdio_init()
14 #define O_WRONLY 00000001 // Open Write-only macro
59 pipe_fd = open(PIPE_NAME, O_WRONLY); in main()
87 if mode.contains(FileMode::O_WRONLY) { in poll()289 if mode.contains(FileMode::O_WRONLY) { in open()317 if mode.contains(FileMode::O_WRONLY) { in close()
73 FileMode::O_WRONLY | (flags & (FileMode::O_NONBLOCK | FileMode::O_DIRECT)), in pipe2()76 FileMode::O_WRONLY | (flags & (FileMode::O_NONBLOCK | FileMode::O_DIRECT)), in pipe2()
140 && (how.o_flags.contains(FileMode::O_RDWR) || how.o_flags.contains(FileMode::O_WRONLY)) in do_sys_openat2()
75 const O_WRONLY = 0o1; constant408 if *self.mode.read() == FileMode::O_WRONLY { in readable()