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
Open System Services Porting Guide—520573-006
Index-1
Index
A
abort() function 5-8
Absolute pathname Glossary-1
Accelerated TNS object files 2-3
Accelerator programs
Accelerator 2-12, 8-9, 10-2, 10-10
axcel 2-11
Object Code Accelerator 2-11, 2-12,
8-9, 10-2, 10-10
TNS/E 2-3
TNS/R 2-3
Access control lists (ACLs), Guardian
files 7-9
access() function, Guardian files 7-19
ACLs, Guardian files 7-9
Address space Glossary-1
memory, mapped files 6-2
shared memory 6-9
ADDRESS_DELIMIT_ procedure 10-10
Advisory locking 7-20
Advisory lock, fcntl() function 7-20
AF_INET sockets 6-4
default transport provider process 7-22
AF_INET6 sockets 6-4
Aliases
in printcap file 4-13
shell 4-6
Alternate-model functions, obsolete 10-7
Analysis, porting 7-3
ANSI Glossary-1
See also ISO/ANSI C
APIs
behavioral differences 5-5
defined 4-2, Glossary-1
Guardian 4-2, 6-5
interoperability
coexistence 5-4
defined 7-17
APIs
interoperability (continued)
table 5-5, 8-17
POSIX.1 1-2
UNIX based 1-8
Application program interface (API)
See APIs
Application, standardized 1-7
Appropriate privileges Glossary-1
ar utility 8-25, 9-4, 10-5
Architecture, processors and porting
stages 7-4
Arguments
file descriptor 7-27
how passed to the C program 8-28
Arithmetic precision, guidelines 7-11
ARMTRAP procedure 10-4, 10-9
ASCII text files
converting with pax 4-25
copying 4-24
editing 4-16
printing 4-18
assert.h header file 1-6
ASSIGNs, Guardian environment
variables 4-8
atof() function 10-9
Attributes
DEFINE 4-10
Guardian
child process 7-27
OSS processes 4-22, 7-8
HP extension functions 6-14
Authorization attributes Glossary-1
AWAITIO and AWAITIOX procedures 5-10,
5-11
awk utility, in Guardian environment 4-17
axcel optimizer 2-11