Re: socket.h and _XOPEN_SOURCE
<lists@scapa.dnsalias.net> wrote:
> i.e. what is necessary to get this "single unix specification",
> or XPG4/ISO POSIX/ANSI C standards (please excuse potential mixups
> on my side)?
OpenBSD reasonably adheres to these standards out of the box. If
you want to-the-letter perfect adherence, I'm afraid we don't have
that. FreeBSD has an ongoing project for perfect standard compliance
(an elusive goal), which is a bit cumbersome:
naddy@kemoauc[~] fgrep VISIBLE /usr/include/stdio.h
#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
#if __XSI_VISIBLE
#if __ISO_C_VISIBLE >= 1999
#if __BSD_VISIBLE || __POSIX_VISIBLE <= 199506
#if __POSIX_VISIBLE
#endif /* __POSIX_VISIBLE */
#if __POSIX_VISIBLE >= 199209
#if __POSIX_VISIBLE >= 199506
#if __BSD_VISIBLE
#if __POSIX_VISIBLE >= 200112
#if __BSD_VISIBLE || __XSI_VISIBLE > 0 && __XSI_VISIBLE < 600
#if __XSI_VISIBLE
#if __BSD_VISIBLE
#endif /* __BSD_VISIBLE */
#if __BSD_VISIBLE
#if __POSIX_VISIBLE >= 199506
Well, you get the idea what quagmire that is.
--
Christian "naddy" Weisgerber naddy@mips.inka.de
Received on Mon Mar 31 19:33:16 2003
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 13:43:42 EDT
|