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-5
D
CRE (continued)
library, definition 5-16
main() function 8-16
mixed languages 8-16
OSS programs 7-18
role of 5-15
trap handler 10-9
creat() function, Guardian file system 7-21
Cross-compilation
native compilation tools 2-4
options 2-4
support 2-2
UNIX workstations 2-4
Cross-processor
pipes 6-8
process-creation functions 6-14, 6-15,
6-22
CTOEDIT utility 4-17
ctype.h header file 1-6
CURRENTSPACE procedure 10-10
C++
preprocessor, TNS 2-11
source code 2-3
standard 2-2
C/POSIX locale 7-30
D
Daemon
See Demon
Data block caching 6-21
Data segments 6-9
Data transfers, programming guidelines 7-5
Data types
guidelines 7-11
integral 7-16
sizes, compatibility with 7-2
specified in header files 7-16
Data-file compatibility 7-2
dbx commands compared to Inspect
commands C-1, D-1
Debuggers
running program files 2-20
TNS/E native program files 2-18
TNS/R native program files 2-18
Debugging
core file 6-14
precautions 10-5
tools, TNS 10-4
Debugging OSS program files 2-18
Default locale 7-30
DEFINEs
child process 4-9
commands, compared to OSS shell
commands 4-9
Guardian 4-8
inherited by osh 8-21
new processes 8-22
setting
interactively 4-9
programmatically 4-9
defmode parameter, effects on Guardian
environment variables 4-9
Demon Glossary-2
server process 6-24
Development guidelines 7-29
Development tools
c89 utility 10-2
eld utility 10-2
enoft utility 10-2
ld utility 10-2
nld utility 10-2
noft utility 10-2
TNS 10-4
TNS/E native 10-4
TNS/R native 10-4
Device Glossary-2
interfaces 7-7, 7-18
Differences between Guardian and OSS
environments 5-2
Directives, #ifdef 7-2