_SC_XOPEN_STREAMS vs _XOPEN_STREAMS vs _SC_STREAMS
Florian Weimer
fweimer@redhat.com
Wed May 29 11:34:00 GMT 2013
On 05/28/2013 08:53 PM, ÐгоÑÑ ÐаÑев wrote:
> Hi!
>
> I'm looking at "sysdeps/posix/sysconf.c" and see that:
>
> sysconf(_SC_STREAMS) = _XOPEN_STREAMS
> sysconf(_SC_XOPEN_STREAMS) = -1
>
>
> But according to "The Open Group Base Specifications Issue 7" [2]
> sysconf(_SC_XOPEN_STREAMS) should be _XOPEN_STREAMS
How is this observable, considering that _XOPEN_STREAMS is defined this way?
/usr/include/bits/posix_opt.h:#define _XOPEN_STREAMS -1
--
Florian Weimer / Red Hat Product Security Team
More information about the Libc-help
mailing list