Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)
About This Manual
The Open System Services Porting Guide describes how to port applications written in the C and
C++ languages to the Open System Services (OSS) environment. The emphasis is on moving
applications from the UNIX environment to the OSS environment. Migrating applications from the
Guardian environment to the OSS environment is also covered. This guide includes information
about:
• Porting ISO/ANSI C and C++ programs to Open System Services
• Porting Common C programs to Open System Services
• Modifying make files for OSS
• Compiling C and C++ programs in the OSS environment
• Guidelines for using standard application program interfaces (APIs)
• Guidelines for using OSS API extensions
• Guidelines for using Guardian procedure calls
• Differences between the OSS API and standard APIs
• Interoperability between Guardian and OSS execution environments
• Interoperability between Guardian and OSS user environments
• Some useful porting tools
• Performance considerations
• Migration considerations for the TNS/R and TNS/E native environments
• Porting threaded applications to the Standard POSIX Threads library
• Porting threaded applications to the POSIX User Thread (PUT) Model library
• Considerations for porting 32-bit applications to 64-bit OSS applications, which are supported
beginning with the HP NonStop H06.24 and J06.13 RVUs
Supported Release Version Updates (RVUs)
This manual supports J06.03 and all subsequent J-series RVUS, H06.06 and all subsequent H-series
RVUs, and G06.29 and all subsequent G-series RVUs until otherwise indicated in a replacement
publication.
Intended Audience
The Open System Services Porting Guide is intended for application programmers who are:
• Migrating C-language and C++-language applications written for other UNIX platforms (or
for the Guardian environment) to the OSS environment
• Migrating applications from the Guardian environment to the OSS environment.
Disclaimer
Hewlett-Packard Company is not responsible for the proper functioning of unsupported utilities or
facilities and will not respond to product reports about them. Such utilities and facilities include
those in the OSS /bin/unsupported directory. Use these utilities and facilities at your own risk.
Supported Release Version Updates (RVUs) 13