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-19
P
OSS (continued)
signal Glossary-8
standards 1-8
OSS catalog
See Catalog, OSS
OSS name server
caching 6-19, 6-21
DP2 6-18, 6-19
opening FIFOs 6-8
opening files 6-19
OSS pipe server 6-18
resolving names 6-8, 6-18
OSS pipe server
file operations 6-18
opening FIFOs 6-8
pipe creation 6-8
OSS process ID (PID) 5-2, 7-27
defined Glossary-8
kill utility 4-11
process-management 5-8
OSSTTY facility 4-12, 4-20, 4-24, 5-13,
8-21
OSS_PID_NULL_ procedure 8-12
Output
functions 1-3
redirecting
cat utility 4-20
grep utility 4-21
structure, error information 7-27
P
Parallel processing, static server 6-24
Parameters
command line 4-7
guidelines 7-11
OSS
pe_parms 6-15
pr_results 6-15
portability checking 3-4
Parameters (continued)
STATUS command 4-15
PARAMs, Guardian environment
variables 4-8
Parent process
creating pipes 6-7
exit() function 7-24
open files 7-27
OSS functions 7-23
PROCESS_SPAWN_ procedure 6-15,
6-26
Path prefix Glossary-9
PATH variable, C shell 4-6
Pathname component Glossary-9
Pathname resolution Glossary-9
Pathnames
conversion, OSS to Guardian 4-18
defined Glossary-8
mapping 7-26
OSS, limits 7-7
resolving 6-8, 6-19
Pathname-variable limits Glossary-9
PATHNAME_TO_FILENAME_
procedure 5-9
Pathway Terminal Control Process
(TCP) 2-18
pax utility 5-12
capabilities 2-9
Guardian files 4-25
Performance
caching 6-20, 6-21
creating pipes 6-8
demon server 6-24
design trade-offs 6-22, 7-3
directory operations 6-20
opening files 6-21
opening pipes 6-9
process-creation functions 6-13
resources 6-20
semaphores 6-10
static server 6-23