Searched refs:FS_O_TRUNC (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_open_flags.c | 152 ZOPEN(&ts, FS_O_TRUNC, -EACCES); in test_fs_open_flags() 156 ZOPEN(&ts, FS_O_TRUNC | FS_O_RDWR, -ENOENT); in test_fs_open_flags() 157 ZOPEN(&ts, FS_O_TRUNC | FS_O_APPEND, -EACCES); in test_fs_open_flags() 158 ZOPEN(&ts, FS_O_TRUNC | FS_O_RDWR | FS_O_APPEND, -ENOENT); in test_fs_open_flags() 328 ZOPEN(&ts, FS_O_CREATE | FS_O_TRUNC, -EACCES); in test_fs_open_flags() 334 ZOPEN(&ts, FS_O_CREATE | FS_O_WRITE | FS_O_TRUNC, 0); in test_fs_open_flags() 341 ZOPEN(&ts, FS_O_TRUNC, -EACCES); in test_fs_open_flags() 348 ZOPEN(&ts, FS_O_TRUNC | FS_O_WRITE, 0); in test_fs_open_flags() 355 ZOPEN(&ts, FS_O_READ | FS_O_TRUNC, -EACCES); in test_fs_open_flags() 362 ZOPEN(&ts, FS_O_RDWR | FS_O_TRUNC, 0); in test_fs_open_flags() [all …]
|
/Zephyr-latest/include/zephyr/fs/ |
D | fs.h | 164 #define FS_O_TRUNC 0x40 macro
|
/Zephyr-latest/lib/posix/options/ |
D | fs.c | 63 mode |= (mf & O_TRUNC) ? FS_O_TRUNC : 0; in posix_mode_to_zephyr()
|
/Zephyr-latest/tests/subsys/llext/src/ |
D | test_llext.c | 524 zassert_ok(fs_open(&fd, path, FS_O_CREATE | FS_O_TRUNC | FS_O_WRITE), in ZTEST()
|
/Zephyr-latest/subsys/fs/ |
D | fs.c | 164 if ((flags & FS_O_TRUNC) != 0) { in fs_open()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.7.rst | 1805 and by passing ``FS_O_TRUNC`` flag.
|