diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-11-30 06:33:11 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-11-30 06:33:11 +0000 |
commit | c1f8ef75d3ddf687efc5ee23e16075c256fa77be (patch) | |
tree | a3ea2de6f93ff7c1abd4190b14414cf458474436 /sysdeps/posix/sysconf.c | |
parent | f94203900a978cda33df395c36827a17d171f98e (diff) |
Updated to fedora-glibc-20041130T0624
Diffstat (limited to 'sysdeps/posix/sysconf.c')
-rw-r--r-- | sysdeps/posix/sysconf.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index de81c2120b..a4bc2e78b1 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -1189,6 +1189,20 @@ __sysconf (name) return zero which indicates that no information is available. */ return 0; + + case _SC_IPV6: +#ifdef _POSIX_IPV6 + return _POSIX_IPV6; +#else + return -1; +#endif + + case _SC_RAW_SOCKETS: +#ifdef _POSIX_RAW_SOCKETS + return _POSIX_RAW_SOCKETS; +#else + return -1; +#endif } } |