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

Table Of Contents
Hewlett-Packard Company520573-006
i
Open System Services Porting
Guide
Glossary Index Examples Figures Tables
What’s New in This Manual xi
Manual Information xi
New and Changed Information xi
About This Manual xiii
Audience xiii
Disclaimer xiii
Organization of This Guide xiii
Related Reading xv
Notation Conventions xxi
1. Introduction to Porting
Overview of Porting 1-1
Porting Requires Good Coding Practices 1-1
You Should Use Portable Application Templates 1-1
Porting Is Easier When Standards Are Used 1-2
Overview of the OSS Environment 1-7
Comparison With UNIX 1-8
Relationship of the OSS Environment to the Guardian Environment 1-8
Comparing Commands Between Environments
1-10
2. The Development Environment
TNS/R Native, TNS/E Native, and TNS Environments 2-1
TNS/R Development Tools on TNS/E Systems 2-2
System Compatibility 2-2
File Compatibility 2-3
Compilation Options for C and C++ Programs 2-3
Moving or Accessing Source Files 2-6
Using Network and File Management Utilities 2-6
Moving Source Code 2-6
Using Archiving Utilities 2-8
Working on the NonStop System 2-10
C and C++ Compilation Using the c89 Utility 2-10