Hi,

Feature test macro _POSIX_SOURCE refers to which edition of POSIX.1 ?

And _XOPEN_SOURCE refers to which SUS version ?

I've got installed libc6 and glibc-doc both 2.3.5-7. I've carefully read the 
documentation from these packages, but couldn't find clear, unambiguous 
answers. It was clear that:

_POSIX_C_SOURCE >=1         POSIX.1 1990
_POSIX_C_SOURCE >=2         POSIX.2 1992
_POSIX_C_SOURCE >= 199309L  POSIX.1 1993
_POSIX_C_SOURCE >= 199506L  POSIX.1 1996
_XOPEN_SOURCE 500           SUS2

but _POSIX_SOURCE vaguely referred to the POSIX.1 standard, no edition 
mentioned, and _XOPEN_SOURCE to "functionality described in the X/Open 
Portability Guide".

Thanks
Paulo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to