Searched refs:O_CREAT (Results 1 – 5 of 5) sorted by relevance
18 #define O_CREAT 00000100 // Create file if it does not exist macro
12 int fd = open("example.txt", O_RDWR | O_CREAT | O_TRUNC, 0777); in main()
101 if how.o_flags.contains(FileMode::O_CREAT) in do_sys_openat2()
83 const O_CREAT = 0o00000100; constant
410 if !o_flags.contains(FileMode::O_CREAT) { in new()