o_path.c (349B)
- // utils-std: Collection of commonly available Unix tools
- // Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- // SPDX-License-Identifier: 0BSD
- #define _GNU_SOURCE // glibc
- #define _DEFAULT_SOURCE
- #include <fcntl.h>
- #ifndef O_PATH
- #error Macro O_PATH undefined
- #endif
- int
- main(void)
- {
- int flag = O_PATH;
- return flag > 0;
- }