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-4
C
Commands, OSS (continued)
repeating 4-8
run, built-in 4-22
typeset -f 4-7
Common applications environment
(CAE) Glossary-2
Common C
code 2-2, 10-1
in native environment 10-1
language 7-1, 7-2, 7-10, 7-11, 7-12, 9-8
compiler 7-13
Common header files 2-10
Common library routines 2-10
Common Run-Time Environment (CRE)
See CRE
Communication with OSS programs 8-4
Compatibility
compilers 7-2
data-file 7-2
operating systems 7-3
Compiler locations
TNS 2-15
TNS/E native 2-15
TNS/R native 2-15
Compiler symbols 7-13
Compiler tools 8-5, 8-25
linker 8-25
optimizer 8-25
TNS 2-3, 8-25
TNS/E native 2-3
TNS/R native 2-3, 8-25
Compilers
CenterLine C 9-7
compatibility 7-2
declaring system procedures 7-28
GNU C 9-7
hardware differences 7-2
HP extensions 7-11
native 10-4
required file suffixes 2-13
Compilers (continued)
OSS 7-11
pragmas 7-15
SGI C 9-7
Sun C 9-7
Compiling
and linking 2-13
C programs 4-13
Guardian module 5-14
on a workstation 9-7
OSS module 5-14
Compliance Glossary-2
Condition codes
changes for native mode 10-8
header files 7-28
Configuration file
inetd process 6-25
LISTNER process 6-25
PORTCONF 8-24
Connection requests and servers 6-23
Constants 1-6
Constraints Glossary-2
Control characters, terminal 4-7
Converting code 8-3
Core dump file
See Saveabend file
Core file
See Saveabend file
cp utility
between file systems 4-24
flags 4-25
Guardian files 4-17, 4-24
CPPCOMP compiler 8-25
CRE
arithmetic functions 10-9
changes for native mode 10-9
compliant programs 8-16
defined 5-16
functions, use of 8-30
library functions 7-18