summaryrefslogtreecommitdiffstats
path: root/include/zix/filesystem.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-22 20:12:50 -0400
committerDavid Robillard <d@drobilla.net>2024-06-22 20:19:27 -0400
commit384b073bdad676bd3e1e39b527321e9a67bfa491 (patch)
treee56722ca117ecdab51b61b69d69c0fd5fdb158e3 /include/zix/filesystem.h
parentb7e4e28dccdff26bc5e402926e61039f8e9ee966 (diff)
downloadzix-384b073bdad676bd3e1e39b527321e9a67bfa491.tar.gz
zix-384b073bdad676bd3e1e39b527321e9a67bfa491.tar.bz2
zix-384b073bdad676bd3e1e39b527321e9a67bfa491.zip
Add ZIX_NODISCARD attribute to allocating, accessor, and pure API
Diffstat (limited to 'include/zix/filesystem.h')
-rw-r--r--include/zix/filesystem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zix/filesystem.h b/include/zix/filesystem.h
index 34f7bcb..221e165 100644
--- a/include/zix/filesystem.h
+++ b/include/zix/filesystem.h
@@ -194,6 +194,7 @@ zix_dir_for_each(const char* ZIX_NONNULL path,
@return True if the two files have byte-for-byte identical contents.
*/
ZIX_API
+ZIX_NODISCARD
bool
zix_file_equals(ZixAllocator* ZIX_NULLABLE allocator,
const char* ZIX_NONNULL a_path,