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
Index
Open System Services Porting Guide—520573-006
Index-18
O
open() function 5-10
and the chown() function 7-20
Guardian file system 7-21
opening FIFOs 6-8
Operating system, compatibility 7-3
Operating system, HP NonStop 4-3,
Glossary-5
Optimization
TNS/E native environment 10-5
TNS/R native environment 10-5
variables 10-5
osh utility 8-18
converting Guardian PARAMs 4-9
Guardian DEFINEs 8-21
Guardian environment variables 4-8
intermediate processes 8-20
login initialization 4-19
OSS shell 4-5, 4-19
starting from Guardian environment 5-7
TACL RUN options 8-21
using from TACL 8-21
OSPC porting tool 3-4, 7-3
OSS Glossary-8
and Guardian functions, interfaces
between 8-31
API, defined 4-2
ASCII files 5-2
commands
See Commands, OSS
compiling native applications 11-7
corresponding Guardian header
files 11-5
editing files 2-17
environment 5-16
accessing from TACL 4-19
compared to UNIX 7-3
defined Glossary-8
Guardian PARAMs 8-21
overview 1-7
process limits 7-17
OSS
environment (continued)
terminal I/O 5-13
features, compared to UNIX
implementations 6-1
file system
See OSS under File systems
filenames
See Filenames
files
See Files, OSS
fileset, catalog 6-19
functions
in a Guardian program 8-4, 8-14
process-management 5-8
replacing Guardian procedure calls
with 8-31
interface, compared with Guardian
interface 1-8
I/O management 5-2
memory model 6-10
moving source code to 2-7
new features 10-1
processes
See Processes, OSS
programs
communication with 8-4
Guardian attributes 4-22
Guardian procedures 7-28
starting from Guardian
environment 8-21, 8-22
semaphores 8-19
server program 8-24
shell 4-4
built-in run utility 4-22
commands, compared to Guardian
DEFINE commands 4-9
Guardian environment
variables 4-8
osh utility 4-19