Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_open_flags.c152 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/
Dfs.h164 #define FS_O_TRUNC 0x40 macro
/Zephyr-latest/lib/posix/options/
Dfs.c63 mode |= (mf & O_TRUNC) ? FS_O_TRUNC : 0; in posix_mode_to_zephyr()
/Zephyr-latest/tests/subsys/llext/src/
Dtest_llext.c524 zassert_ok(fs_open(&fd, path, FS_O_CREATE | FS_O_TRUNC | FS_O_WRITE), in ZTEST()
/Zephyr-latest/subsys/fs/
Dfs.c164 if ((flags & FS_O_TRUNC) != 0) { in fs_open()
/Zephyr-latest/doc/releases/
Drelease-notes-3.7.rst1805 and by passing ``FS_O_TRUNC`` flag.