|
|
+---------------+--------------------------------+-------------+ |POSIX Standard | Description | Release | +---------------+--------------------------------+-------------+ |POSIX.1-1988 | system interfaces and headers | SunOS 4.1 | |POSIX.1-1990 | POSIX.1-1988 update | Solaris 2.0 | |POSIX.1b-1993 | realtime extensions | Solaris 2.4 | |POSIX.1c-1996 | threads extensions | Solaris 2.6 | |POSIX.2-1992 | shell and utilities | Solaris 2.5 | |POSIX.2a-1992 | interactive shell and utili | Solaris 2.5 | | | ties | | +---------------+--------------------------------+-------------+
Solaris also supports the X/Open Common Applications Environment (CAE) Portability Guide Issue 3 (XPG3), Issue 4 (XPG4), Issue 4 Version 2 (XPG4v2), and Networking Services Issue 4 (XNET4). The following table lists each X/Open specification with a brief description and the SunOS or Solaris release that first conformed to it.
+--------------+--------------------------------+-------------+ | X/Open | | | |Specification | Description | Release | +--------------+--------------------------------+-------------+ |XPG3 | superset of POSIX.1-1988 con | SunOS 4.1 | | | taining utilities from SVID3 | | |XPG4 | superset of POSIX.1-1990, | Solaris 2.4 | | | POSIX.2-1992, and | | | | POSIX.2a-1992 containing ex | | | | tensions to POSIX standards | | | | from XPG3 | | |XPG4v2 | superset of XPG4 containing | Solaris 2.6 | | | historical BSD interfaces | | | | widely used by common applica | | | | tion packages | | |XNET4 | sockets and XTI interfaces | Solaris 2.6 | +--------------+--------------------------------+-------------+
POSIX.2-1992
An XNET4-conforming application must include -l xnet on any link/load command line.
If the compiler suppports the redefine_extname pragma feature (the Sun WorkShop Compiler® C 4.2 compiler defines the macro __PRAGMA_REDEFINE_EXTNAME to indicate that it supports this feature), then the standard headers use #pragma redefine_extname directives to properly map function names onto library entry point names. This mapping provides full support for ISO C, POSIX, and X/Open namespace reservations. The Sun WorkShop Compiler® C 4.2 compiler was used for all branding and certification tests for Solaris 2.6.
If this pragma feature is not supported by the compiler, the headers use the #define directive to map internal function names onto appropriate library entry point names. In this instance, applications should avoid using the explicit 64-bit symbols listed on the interface64.5 manual page, since these names are used by the implementation to name the alternative entry points.
|
|
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 07/October/97