summaryrefslogtreecommitdiff
path: root/sysdeps/posix/sysconf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-22 06:21:54 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-22 06:21:54 +0000
commitd20f21a2154de2960b13a67a6acfb78cc7cde13e (patch)
treeaba874c5d8fb516893e55746c63bce4fd9898e0c /sysdeps/posix/sysconf.c
parentd290c57b5f8a6cfcdf3e4fded96ced1dc342e525 (diff)
downloadglibc-d20f21a2154de2960b13a67a6acfb78cc7cde13e.tar.gz
Update.
* sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_* values. * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values. * posix/confstr.c: Handle _CS_POSIX_V6_* values. * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values. * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
Diffstat (limited to 'sysdeps/posix/sysconf.c')
-rw-r--r--sysdeps/posix/sysconf.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
index 7faaa51f94..4b6eced244 100644
--- a/sysdeps/posix/sysconf.c
+++ b/sysdeps/posix/sysconf.c
@@ -798,6 +798,31 @@ __sysconf (name)
return -1;
#endif
+ case _SC_V6_ILP32_OFF32:
+#ifdef _POSIX_V6_ILP32_OFF32
+ return _POSIX_V6_ILP32_OFF32;
+#else
+ return -1;
+#endif
+ case _SC_V6_ILP32_OFFBIG:
+#ifdef _POSIX_V6_ILP32_OFFBIG
+ return _POSIX_V6_ILP32_OFFBIG;
+#else
+ return -1;
+#endif
+ case _SC_V6_LP64_OFF64:
+#ifdef _POSIX_V6_LP64_OFF64
+ return _POSIX_V6_LP64_OFF64;
+#else
+ return -1;
+#endif
+ case _SC_V6_LPBIG_OFFBIG:
+#ifdef _POSIX_V6_LPBIG_OFFBIG
+ return _POSIX_V6_LPBIG_OFFBIG;
+#else
+ return -1;
+#endif
+
case _SC_XOPEN_LEGACY:
return _XOPEN_LEGACY;