Open System Services Porting Guide (G06.24+, H06.03+)
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction to Porting
- 2 The Development Environment
- 3 Useful Porting Tools
- 4 Interoperating Between User Environments
- Purpose of Interoperability
- The OSS User Environment
- OSS Commands for the Guardian User
- Guardian Commands for the UNIX User
- OSS Pathname and Guardian Filename Conversions
- Running the OSS Shell and Commands From TACL
- Running Guardian Commands From the OSS Shell
- Running OSS Processes With Guardian Attributes
- Using OSS Commands to Manage Guardian Objects
- 5 Interoperating Between Programming Environments
- 6 OSS Porting Considerations
- 7 Porting UNIX Applications to the OSS Environment
- 8 Migrating Guardian Applications to the OSS Environment
- General Migration Guidelines
- C Compiler Issues for Guardian Programs
- Using New and Extended Guardian Procedures
- Using OSS Functions in a Guardian Program
- Interoperating With OSS Programs
- Starting an OSS Program From the Guardian Environment
- C Compiler Considerations for OSS Programs
- Porting a Guardian Program to the OSS Environment
- How Arguments Are Passed to the C or C++ Program
- Differences in the Two Run-Time Environments
- Which Run-Time Routines Are Available
- Use of Common Run-Time Environment (CRE) Functions
- Replacing Guardian Procedure Calls With Equivalent OSS Functions
- Which IPC Mechanisms Can Be Used
- Interactions Between Guardian and OSS Functions
- 9 Porting From Specific UNIX Systems
- 10 Native Migration Overview
- 11 Porting or Migrating Sockets Applications
- 12 Porting Threaded Applications
- A Equivalent OSS and UNIX Commands for Guardian Users
- B Equivalent Guardian Commands for OSS and UNIX Users
- C Equivalent Inspect Debugging Commands for dbx Commands
- D Equivalent Native Inspect Debugging Commands for dbx Commands
- E Standard POSIX Threads Functions: Differences Between the Previous and Current Standards
- Glossary
- Index
Introduction to Porting
Open System Services Porting Guide—520573-006
1-7
Overview of the OSS Environment
<stydio.h>
<stdlib.h>
<string.h>
<time.h>
Overview of the OSS Environment
Open System Services is an interface through which users and programs interact with
the HP NonStop operating system. The OSS environment provides an open interface
to the operating system for supporting portable applications—applications that can run
on a wide range of platforms from multiple manufacturers. A portable application can
move between the NonStop system and another platform with ease.
To achieve portability, applications are written to comply with a group of industry
standards. An application issues calls to a standardized application program interface
(API) a set of functions common to multiple platforms.
In addition, Open System Services allows users to request system functions
interactively through a command interpreter (called the “shell”) and through a variety of
utility programs. The shell and utilities feature a standard set of operations, command
syntax, and presentation style common to multiple UNIX systems. The shell
commands offer alternatives to many of the products that run in the Guardian
environment.
Beyond the common operations defined by the standards, Open System Services
allows customers to access such fundamental NonStop system features as parallel
processing, data integrity and reliability, and linear expandability to meet growing
processing needs. These features combine to distinguish Open System Services from
other systems following the same open standards; they add significant extended value
to the environment.
Open System Services also supports a variety of middleware software, such as HP
NonStop Tuxedo, HP NonStop Distributed Object Manager/MP, and the NonStop
Server for Java product, that might also be used in an application you are porting. For
more information on porting with such middleware, refer to the manual set for the
specific software product in which you are interested.
In summary, Open System Services provides standards-based, open system interfaces
for operating system services, development tools, and utilities on NonStop systems.
Open System Services accomplishes this goal by offering a quality software product
that contains fundamental NonStop system features and standard software to promote
both application portability and people portability among conforming systems.
Portability goes beyond the portability of code and data; it also includes the portability
of users when they move from one environment to another. When a user moves from
one environment to another, there is training that needs to be done to understand the
differences in the tools in the different environments.