This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

_SC_XOPEN_STREAMS vs _XOPEN_STREAMS vs _SC_STREAMS


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


Is it a bug?



[1] http://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/posix/sysconf.c;h=d8c3466c1cc23f7232f2c7b4dfef4a17d6857c09;hb=HEAD
[2] http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]