Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dfcntl.md18 #define O_RDWR 00000002 // Open read/write
29 #define O_TRUNC 00001000 // 文件存在且是普通文件,并以O_RDWR或O_WRONLY打开,则它会被清空
/DragonOS-0.1.8/user/libs/libc/src/
Dstdio.c77 o_flags = O_RDWR; in fopen()
81 o_flags = O_RDWR | O_CREAT; in fopen()
/DragonOS-0.1.8/kernel/src/common/
Dfcntl.h15 #define O_RDWR 00000002 // Open read/write macro
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dfcntl.h19 #define O_RDWR 00000002 // Open read/write macro
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dfile.rs43 const O_RDWR = 0o2; constant
Dsyscall.rs169 && (mode.contains(FileMode::O_RDWR) || mode.contains(FileMode::O_WRONLY)) in open()
/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs59 let f = File::new(socketinode, FileMode::O_RDWR)?; in socket()
343 let new_fd = current_pcb().alloc_fd(File::new(new_socket, FileMode::O_RDWR)?, None)?; in accept()