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-15
M
Listener servers 6-24, 6-25
LISTNER process
compared to inetd demon 8-23
configuration file 6-25
Guardian program 8-23
inetd activated programs 6-27
listening for requests 6-25
starting Guardian servers 6-26
Load balancing 11-3
static server 6-24
tdm_spawn() 6-15
Locales
character classification 7-29
default 7-30
defined 7-29
environment variables 7-30
in client/server applications 7-30
interoperability 7-30
objects 7-29
locale.h header file 1-6
Localization 7-29
Login
initialization 4-19, 4-21
name Glossary-7
shell, startup files 4-5
lp utility, printer I/O 5-2, 5-13, 7-18
lpstat utility, printer I/O 5-13
ls utility
generating statistics 4-25
login initialization 4-21
lseek() function 7-20
lstat() function 7-21
compared to stat() function 6-22
symbolic links 6-22
M
Macros
definitions, portability checking 3-4
feature-test
Macros
feature-test (continued)
See Feature-test macros
included from header files 7-13, 8-26
interoperability 7-17
main() function
CRE 8-16
Guardian 8-15
OSS 8-15
make utility, linking modules 6-12
Man page Glossary-7
Manpage Glossary-7
Manual page Glossary-7
Mapped files, using alternatives 6-2
math.h header file 1-6
Memory
address space 6-2
allocation 6-11
deallocation 6-11, 6-24
eld utility 10-3
enhanced 10-3
heap size for native mode 10-9
KMSF 6-12, 10-9
ld utility 10-3
managing 6-11, 6-12, 10-3
mapped files 6-2
models 8-14
OSS 6-10
wide 8-26
new attributes 10-9
nld utility 10-3
pe_space_guarantee attribute 6-12
segments 6-11, 8-19
shared
See Shared memory
shared with Guardian procedures 6-10
stack size for native mode 10-9
synchronize access 8-19
virtual 10-3
when starting processes 8-17