diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-27 20:57:44 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-27 20:57:44 +0000 |
commit | 60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5 (patch) | |
tree | f6097495eff5d96cdb5441f6fbdc59d87135408e /posix/getconf.c | |
parent | 097487fef878799882bd444218cef836794abc5f (diff) | |
download | glibc-60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5.zip glibc-60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5.tar.gz glibc-60e4523a0826bfedc5bc1f8f0f3f7e8d8d67adc5.tar.bz2 |
Update.
2004-11-27 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c (vars): Add support for _SC_IPV6 and
_SC_RAW_SOCKETS.
* sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6
and _SC_RAW_SOCKETS.
* sysdeps/generic/bits/confname.h: Define _SC_IPV6 and
_SC_RAW_SOCKETS.
Diffstat (limited to 'posix/getconf.c')
-rw-r--r-- | posix/getconf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/posix/getconf.c b/posix/getconf.c index 6175dfe..5aac25e 100644 --- a/posix/getconf.c +++ b/posix/getconf.c @@ -912,6 +912,12 @@ static const struct conf vars[] = { "LEVEL4_CACHE_ASSOC", _SC_LEVEL4_CACHE_ASSOC, SYSCONF }, #endif +#ifdef _SC_IPV6 + { "IPV6", _SC_IPV6, SYSCONF }, +#endif +#ifdef _SC_RAW_SOCKETS + { "RAW_SOCKETS", _SC_RAW_SOCKETS, SYSCONF }, +#endif { NULL, 0, SYSCONF } }; |