Searched refs:O_RDWR (Results 1 – 6 of 6) sorted by relevance
18 #define O_RDWR 00000002 // Open read/write29 #define O_TRUNC 00001000 // 文件存在且是普通文件,并以O_RDWR或O_WRONLY打开,则它会被清空
70 o_flags = O_RDWR; in fopen()74 o_flags = O_RDWR | O_CREAT; in fopen()
15 #define O_RDWR 00000002 // Open read/write macro
19 #define O_RDWR 00000002 // Open read/write macro
45 const O_RDWR = 0o2; constant
225 && (mode.contains(FileMode::O_RDWR) || mode.contains(FileMode::O_WRONLY)) in do_open()