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-16
N
Message queues 6-4
fork() and exec set of functions 6-7
global 6-7
identifiers 6-7
msgctl() function 6-6
msgget() function 6-6
msgrcv() function 6-6
msgsnd() function 6-6
not between Guardian and OSS
environments 6-6
$RECEIVE file 6-26
Messages
from $RECEIVE 5-9
start-up, Guardian 5-2
Migration 10-1
data model 10-6
Guardian program to the OSS
environment 8-4
guidelines 8-1, 8-2
keywords, obsolete 10-7
options 8-3
planning for 10-2
pragmas 10-6, 10-7
recommendations 10-2
sequence of steps 8-2
to native environment 10-1
tools for native mode 10-2
user library 10-6
Mixed-language programming 5-15
CRE 8-16
native environment 10-2
Mixed-module programming
accessing objects 5-14
c89 utility 5-15
caution 5-14
defined 5-13
planning for 5-15
run-time library 7-17
SYSTYPE pragma 5-14
Mixing object code files, restrictions 10-2
mkdir() function, limited Guardian
operations 7-21
mkfifo() function, limited Guardian
operations 7-21
mknod() function, in Guardian file
system 7-21
Modular programming
for portability 7-2
guidelines 7-5
more utility, Guardian files 4-24
Mount Glossary-7
Moving source files 2-7
msgctl() function, message queues 6-6
msgget() function, message queues 6-6
msgrcv() function, message queues 6-6
msgsnd() function, message queues 6-6
Multithreading 6-2
mv utility, Guardian files 4-25
mxcmp utility, for NonStop SQL/MX
compiler 2-11
N
Name server, OSS
See OSS name server
Native Inspect 2-19
commands compared to dbx
commands D-1
compared with enoft utility 2-21
debugging OSS files 2-18
native files 2-19
OSS environment considerations 2-20
running from TACL 2-20
running program files 2-20
TNS/E native files 2-18
TNS/E native programs 10-5
Native Inspect restrictions 2-19
Native mode Glossary-7
Native object code Glossary-7
Native object file Glossary-7
Native object file tool
See noft utility and enoft utility