diff options
Diffstat (limited to 'config/has/statx.c')
-rw-r--r-- | config/has/statx.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/has/statx.c b/config/has/statx.c new file mode 100644 index 0000000..65f1674 --- /dev/null +++ b/config/has/statx.c @@ -0,0 +1,11 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +#include <fcntl.h> +#include <sys/stat.h> + +int main(void) { + struct statx sb; + statx(AT_FDCWD, ".", 0, STATX_BASIC_STATS, &sb); + return 0; +} |