Searched refs:O_TRUNC (Results 1 – 6 of 6) sorted by relevance
12 #define O_TRUNC 0x0200 macro16 #define O_TRUNC 0x0400 macro
23 #if O_NONBLOCK & (O_RDONLY | O_WRONLY | O_RDWR | O_NDELAY | O_CREAT | O_APPEND | O_TRUNC | O_EXCL)
353 file = open(TEST_FILE, O_RDWR | O_TRUNC); in ZTEST()
63 mode |= (mf & O_TRUNC) ? FS_O_TRUNC : 0; in posix_mode_to_zephyr()
6433 sym_path, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0o644))
1378 * Support for :c:macro:`O_TRUNC` flag in :c:func:`open()`.