Home
last modified time | relevance | path

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

/DragonOS-0.1.5/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.5/user/libs/libc/src/
Dstdio.c70 o_flags = O_RDWR; in fopen()
74 o_flags = O_RDWR | O_CREAT; in fopen()
/DragonOS-0.1.5/kernel/src/common/
Dfcntl.h15 #define O_RDWR 00000002 // Open read/write macro
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dfcntl.h19 #define O_RDWR 00000002 // Open read/write macro
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dfile.rs45 const O_RDWR = 0o2; constant
Dcore.rs225 && (mode.contains(FileMode::O_RDWR) || mode.contains(FileMode::O_WRONLY)) in do_open()