summaryrefslogtreecommitdiffstats
path: root/config/confstr.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-18 16:24:56 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-19 15:50:45 -0400
commit536075930140c7886c61997be31c41d651f48818 (patch)
tree2c3f0f9a92dde34213608ebbeaf638a8958cec11 /config/confstr.c
parent1207086b5a6341412c647480eea68c870b18bba1 (diff)
downloadbfs-536075930140c7886c61997be31c41d651f48818.tar.xz
config: Check for confstr()
Diffstat (limited to 'config/confstr.c')
-rw-r--r--config/confstr.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/confstr.c b/config/confstr.c
new file mode 100644
index 0000000..58280b4
--- /dev/null
+++ b/config/confstr.c
@@ -0,0 +1,9 @@
+// Copyright © Tavian Barnes <tavianator@tavianator.com>
+// SPDX-License-Identifier: 0BSD
+
+#include <unistd.h>
+
+int main(void) {
+ confstr(_CS_PATH, NULL, 0);
+ return 0;
+}