diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-19 15:14:09 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-19 15:50:45 -0400 |
commit | c35d0c2ed5578b180e17c37588a047fd013cc619 (patch) | |
tree | b2ffc5b1329c886ca25797c88faaaff0094439f2 /config/st-flags.c | |
parent | 48d91c62cd27c15fe0e928abf6d023d17e9c41f7 (diff) | |
download | bfs-c35d0c2ed5578b180e17c37588a047fd013cc619.tar.xz |
config: Check for struct stat::st_flags
Diffstat (limited to 'config/st-flags.c')
-rw-r--r-- | config/st-flags.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/st-flags.c b/config/st-flags.c new file mode 100644 index 0000000..b1d0c32 --- /dev/null +++ b/config/st-flags.c @@ -0,0 +1,9 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +#include <sys/stat.h> + +int main(void) { + struct stat sb = {0}; + return sb.st_flags; +} |