Searched refs:O_RDONLY (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.8/kernel/src/common/ |
D | fcntl.h | 13 #define O_RDONLY 00000000 // Open Read-only macro
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | fcntl.h | 17 #define O_RDONLY 00000000 // Open Read-only macro
|
/DragonOS-0.1.8/user/apps/test_fstat/ |
D | main.c | 10 int fd = open("/bin/about.elf", O_RDONLY); in main()
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | fcntl.md | 14 #define O_RDONLY 00000000 // Open Read-only
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | stdio.c | 75 o_flags = O_RDONLY; in fopen()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | file.rs | 39 const O_RDONLY = 0o0; constant 236 if self.mode == FileMode::O_RDONLY { in writeable()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | syscall.rs | 32 let read_file = File::new(pipe_ptr.clone(), FileMode::O_RDONLY)?; in pipe()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | exec.rs | 165 let file = File::new(inode, FileMode::O_RDONLY)?; in load_binary_file()
|
D | process.c | 148 int fd = enter_syscall_int(SYS_OPEN, (uint64_t)path, O_RDONLY, 0, 0, 0, 0, 0, 0); in process_open_exec_file()
|
D | process.rs | 360 File::new(tty_inode.clone(), FileMode::O_RDONLY).expect("Init stdio: can't create stdin"); in init_stdio()
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | tty_device.rs | 125 if accmode == FileMode::O_RDONLY.accmode() { in open()
|