Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.8/kernel/src/common/
Dfcntl.h13 #define O_RDONLY 00000000 // Open Read-only macro
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dfcntl.h17 #define O_RDONLY 00000000 // Open Read-only macro
/DragonOS-0.1.8/user/apps/test_fstat/
Dmain.c10 int fd = open("/bin/about.elf", O_RDONLY); in main()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dfcntl.md14 #define O_RDONLY 00000000 // Open Read-only
/DragonOS-0.1.8/user/libs/libc/src/
Dstdio.c75 o_flags = O_RDONLY; in fopen()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dfile.rs39 const O_RDONLY = 0o0; constant
236 if self.mode == FileMode::O_RDONLY { in writeable()
/DragonOS-0.1.8/kernel/src/ipc/
Dsyscall.rs32 let read_file = File::new(pipe_ptr.clone(), FileMode::O_RDONLY)?; in pipe()
/DragonOS-0.1.8/kernel/src/process/
Dexec.rs165 let file = File::new(inode, FileMode::O_RDONLY)?; in load_binary_file()
Dprocess.c148 int fd = enter_syscall_int(SYS_OPEN, (uint64_t)path, O_RDONLY, 0, 0, 0, 0, 0, 0); in process_open_exec_file()
Dprocess.rs360 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/
Dtty_device.rs125 if accmode == FileMode::O_RDONLY.accmode() { in open()