TNS/R Native Application Migration Guide
TNS/R Native Application Migration Guide—523745-001
10-1
10
Open System Services (OSS) API
and Utilities Migration Tasks
The NonStop Kernel Open System Services (OSS) environment provides an industry-
standard application program interface (API) and set of utilities for NonStop servers.
This section describes the OSS API changes required to migrate programs to native
mode. It also describes changes required to c89 utility command lines to run the native
C and C++ compilers. Make the changes described in Section 3, C and C++ Migration
Tasks, before making the changes described in this section. Topics in this section are:
•
Using System Calls Enhanced to Support the Native Architecture
•
Specifying Compiler Pragmas on page 10-2
•
Specifying Files in the Guardian File System (/G) on page 10-2
•
Specifying Compilation System Components on page 10-3
•
Specifying SQL Compilation on page 10-4
Using System Calls Enhanced to Support the
Native Architecture
The following OSS system calls have been enhanced to support the native processes,
native object files, and native shared run-time libraries (SRLs):
•
tdm_execve
•
tdm_execvep
•
tdm_fork
•
tdm_spawn
•
tdm_spawnp
Depending on the operations that your programs perform with these functions, you
might need to specify new or different parameters. See the function’s reference page
online or in the Open System Services System Calls Reference Manual for details.