summaryrefslogtreecommitdiffstats
path: root/config/has/confstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'config/has/confstr.c')
-rw-r--r--config/has/confstr.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/has/confstr.c b/config/has/confstr.c
new file mode 100644
index 0000000..58280b4
--- /dev/null
+++ b/config/has/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;
+}