summaryrefslogtreecommitdiff
path: root/usr.bin/getconf
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>1999-03-22 19:18:10 +0000
committerkleink <kleink@NetBSD.org>1999-03-22 19:18:10 +0000
commitcd59cd8d3807e6eb33c4b095014e267a7c54004e (patch)
tree4166978e069ed76385d1f331f74a2f0094089c12 /usr.bin/getconf
parentfba9742963454d741cfcc9857c36a21e148f140a (diff)
Support {FILESIZEBITS}.
Diffstat (limited to 'usr.bin/getconf')
-rw-r--r--usr.bin/getconf/getconf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/getconf/getconf.c b/usr.bin/getconf/getconf.c
index abb6fa58bb3..0ebabe356c8 100644
--- a/usr.bin/getconf/getconf.c
+++ b/usr.bin/getconf/getconf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getconf.c,v 1.8 1998/08/03 14:48:40 kleink Exp $ */
+/* $NetBSD: getconf.c,v 1.9 1999/03/22 19:18:10 kleink Exp $ */
/*-
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: getconf.c,v 1.8 1998/08/03 14:48:40 kleink Exp $");
+__RCSID("$NetBSD: getconf.c,v 1.9 1999/03/22 19:18:10 kleink Exp $");
#endif /* not lint */
#include <err.h>
@@ -145,6 +145,9 @@ const struct conf_variable conf_table[] =
{ "IOV_MAX", SYSCONF, _SC_IOV_MAX },
{ "PAGE_SIZE", SYSCONF, _SC_PAGE_SIZE },
{ "_XOPEN_SHM", SYSCONF, _SC_XOPEN_SHM },
+
+ /* X/Open CAE Spec. Issue 5 Version 2 Configurable System Variables */
+ { "FILESIZEBITS", PATHCONF, _PC_FILESIZEBITS },
{ NULL }
};