Open System Services Porting Guide (G06.24+, H06.03+)

Table Of Contents
Introduction to Porting
Open System Services Porting Guide520573-006
1-8
Comparison With UNIX
Comparison With UNIX
Open System Services complies with several standards developed by public
organizations with widespread industrial recognition—organizations like the X/Open
Company Limited, the International Organization for Standards (ISO), the Institute of
Electrical and Electronics Engineers (IEEE), and the National Institute for Standards
and Technology (NIST).
The industry standards prescribe a specific set of programmatic calls, define syntax
rules for their use, and specify what the resulting operations should do. Computer
vendors produce application environments that conform to these standards by
accepting the calls and responding to them in the way described. Programmers write
applications that conform to the standards by using only those statements and syntax
rules set forth. Thus, an application written to these standards will run with little or no
source-code change on all computer systems that support the same standards (once
recompiled for the new machine).
Open System Services has very strong UNIX roots with respect to function calls, user
commands, and utilities. The X/Open CAE Specifications incorporate the POSIX.1 and
POSIX.2 standards, among other guidelines. The POSIX standards, in turn, were
derived from extensive experience with UNIX operating systems.
Both POSIX.1 and POSIX.2 are based on UNIX (refer to Porting Is Easier When
Standards Are Used on page 1-2). The POSIX standards evolved to incorporate the
features of the most popular UNIX systems (notably, the University of California’s
Berkeley Software Distribution, or BSD, system and UNIX System Laboratory’s UNIX
System V).
OSS interfaces and functions greatly resemble those of UNIX systems in general,
because of their common relationship to the POSIX standards. Open System Services
adds to the UNIX API by offering access to Guardian fundamentals, and
interoperability with the Guardian environment by offering extensions to the standard
API, additional OSS function calls, and access to Guardian procedure calls.
Relationship of the OSS Environment to the Guardian
Environment
The OSS environment offers an alternative programmatic and user interface to the
NonStop operating system, integrated with the lower-level operating system services
and the core services. It coexists on the NonStop system with the traditional Guardian
interface, as shown in Figure 1-1 on page 1-9. The OSS environment provides an open
interface to the operating system for supporting portable applications and does this on
a system that is known for hardware and software fault tolerance.
Note. UNIX and POSIX are not synonymous; there are many different UNIX systems in the
marketplace, running on machines of varying size and type, that comply with the POSIX
standards.