Print this page
5058 standards(5) Duplicate line in a table
   1 '\" te
   2 .\" Copyright (c) 2007, Sun Microsystems, Inc.  All Rights Reserved.
   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH STANDARDS 5 "Jan 14, 2004"
   7 .SH NAME
   8 standards, ANSI, C, C++, ISO, POSIX, POSIX.1, POSIX.2, SUS, SUSv2, SUSv3, SVID,
   9 SVID3, XNS, XNS4, XNS5, XPG, XPG3, XPG4, XPG4v2 \- standards and specifications
  10 supported by Solaris
  11 .SH DESCRIPTION
  12 .sp
  13 .LP
  14 Solaris 10 supports IEEE Std 1003.1 and IEEE Std 1003.2, commonly known as
  15 POSIX.1 and POSIX.2, respectively. The following table lists each version of
  16 these standards with a brief description and the SunOS or Solaris release that
  17 first conformed to it.
  18 .sp
  19 
  20 .sp
  21 .TS
  22 c c c
  23 l l l .
  24 POSIX Standard  Description     Release
  25 _
  26 POSIX.1-1988    system interfaces and headers   SunOS 4.1


 419 .nf
 420 Specification            Compiler/Flags         Feature Test Macros
 421 _________________________________________________________________________
 422 1989 ANSI C and 1990 ISO C    c89                none
 423 _________________________________________________________________________
 424 1999 ISO C                    c99                none
 425 _________________________________________________________________________
 426 SVID3                         cc -Xt -xc99=none  none
 427 _________________________________________________________________________
 428 POSIX.1-1990                  c89                _POSIX_SOURCE
 429 _________________________________________________________________________
 430 POSIX.1-1990 and POSIX.2-1992 c89                _POSIX_SOURCE  and
 431   C-Language Bindings Option                     POSIX_C_SOURCE=2
 432 _________________________________________________________________________
 433 POSIX.1b-1993                 c89                _POSIX_C_SOURCE=199309L
 434 _________________________________________________________________________
 435 POSIX.1c-1996                 c89                _POSIX_C_SOURCE=199506L
 436 _________________________________________________________________________
 437 POSIX.1-2001                  c99                _POSIX_C_SOURCE=200112L
 438 _________________________________________________________________________
 439 POSIX.1c-1996                 c89                _POSIX_C_SOURCE=199506L
 440 _________________________________________________________________________
 441 CAE XPG3                      cc -Xa -xc99=none  _XOPEN_SOURCE
 442 _________________________________________________________________________
 443 CAE XPG4                      c89                _XOPEN_SOURCE and
 444                                                  _XOPEN_VERSION=4
 445 _________________________________________________________________________
 446 SUS (CAE XPG4v2)              c89                _XOPEN_SOURCE and
 447   (includes XNS4)                                 _XOPEN_SOURCE_EXTENDED=1
 448 _________________________________________________________________________
 449 SUSv2 (includes XNS5)         c89                _XOPEN_SOURCE=500
 450 _________________________________________________________________________
 451 SUSv3                         c99                _XOPEN_SOURCE=600
 452 .fi
 453 .in -2
 454 .sp
 455 
 456 .sp
 457 .LP
 458 For platforms supporting the LP64 (64-bit) programming environment,
 459 SUSv2-conforming LP64 applications using XNS5 library calls should be built
 460 with command lines of the form:


   1 '\" te
   2 .\" Copyright (c) 2007, Sun Microsystems, Inc.  All Rights Reserved.
   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH STANDARDS 5 "Nov 08, 2014"
   7 .SH NAME
   8 standards, ANSI, C, C++, ISO, POSIX, POSIX.1, POSIX.2, SUS, SUSv2, SUSv3, SVID,
   9 SVID3, XNS, XNS4, XNS5, XPG, XPG3, XPG4, XPG4v2 \- standards and specifications
  10 supported by Solaris
  11 .SH DESCRIPTION
  12 .sp
  13 .LP
  14 Solaris 10 supports IEEE Std 1003.1 and IEEE Std 1003.2, commonly known as
  15 POSIX.1 and POSIX.2, respectively. The following table lists each version of
  16 these standards with a brief description and the SunOS or Solaris release that
  17 first conformed to it.
  18 .sp
  19 
  20 .sp
  21 .TS
  22 c c c
  23 l l l .
  24 POSIX Standard  Description     Release
  25 _
  26 POSIX.1-1988    system interfaces and headers   SunOS 4.1


 419 .nf
 420 Specification            Compiler/Flags         Feature Test Macros
 421 _________________________________________________________________________
 422 1989 ANSI C and 1990 ISO C    c89                none
 423 _________________________________________________________________________
 424 1999 ISO C                    c99                none
 425 _________________________________________________________________________
 426 SVID3                         cc -Xt -xc99=none  none
 427 _________________________________________________________________________
 428 POSIX.1-1990                  c89                _POSIX_SOURCE
 429 _________________________________________________________________________
 430 POSIX.1-1990 and POSIX.2-1992 c89                _POSIX_SOURCE  and
 431   C-Language Bindings Option                     POSIX_C_SOURCE=2
 432 _________________________________________________________________________
 433 POSIX.1b-1993                 c89                _POSIX_C_SOURCE=199309L
 434 _________________________________________________________________________
 435 POSIX.1c-1996                 c89                _POSIX_C_SOURCE=199506L
 436 _________________________________________________________________________
 437 POSIX.1-2001                  c99                _POSIX_C_SOURCE=200112L
 438 _________________________________________________________________________


 439 CAE XPG3                      cc -Xa -xc99=none  _XOPEN_SOURCE
 440 _________________________________________________________________________
 441 CAE XPG4                      c89                _XOPEN_SOURCE and
 442                                                  _XOPEN_VERSION=4
 443 _________________________________________________________________________
 444 SUS (CAE XPG4v2)              c89                _XOPEN_SOURCE and
 445   (includes XNS4)                                 _XOPEN_SOURCE_EXTENDED=1
 446 _________________________________________________________________________
 447 SUSv2 (includes XNS5)         c89                _XOPEN_SOURCE=500
 448 _________________________________________________________________________
 449 SUSv3                         c99                _XOPEN_SOURCE=600
 450 .fi
 451 .in -2
 452 .sp
 453 
 454 .sp
 455 .LP
 456 For platforms supporting the LP64 (64-bit) programming environment,
 457 SUSv2-conforming LP64 applications using XNS5 library calls should be built
 458 with command lines of the form: