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-24
S
Security
files 4-24, 7-9, 7-10, 7-18, 7-21
interoperability 7-10
models 7-9, 7-23
process-identity attributes 7-9
protection bits 7-9
select() function 6-2
Semaphores 6-5
accessing resources with 6-10
binary 8-19
Guardian 8-19
OSS 8-19
shared memory 6-9
single processor 6-10
XPG4 counting 6-10
Sequential processing, multithreading 6-2
Server application Glossary-11
Server processes
and client communication 6-23
demon 6-24
dynamic 6-23
Guardian, starting LISTNER
process 6-26
inetd 6-25
listener 6-25
LISTNER 6-25, 8-23
OSS, PROCESS_SPAWN_
procedure 6-26
starting 6-24
static 6-23
World Wide Web 6-24
SERVICES file, LISTNER process 6-25
Session Glossary-11
Session leader Glossary-11
Session lifetime Glossary-11
setjmp.h header file 1-6
setlocale_from_msg() function 7-30
SETLOOPTIMER procedure 8-12
SETMODE procedure 5-11
setpgid() function 5-8
SETTRAP procedure 10-10
setuid() function 5-8
set_defaults_from_env() function 7-30
set_env_from_defaults() function 7-30
Shared memory 6-5
accessing data 6-9
address space 6-9
interoperating with OSS programs 8-19
multithreading 6-2
parent and child processes 6-9
process-creation functions 6-9
restrictions 8-19
semaphores 6-9
Shared run-time library (SRL)
building your own 2-13
change for TNS/R native
environment 8-2
common between native
environments 5-5
Inspect 2-19
multiple 10-3
private 10-5
public 10-3
restrictions, TNS 2-14
swap files 6-12
TNS 2-14
TNS/R native 2-13, 10-3
user libraries 10-3
using your own 10-6
Shells
accessing from TACL shell 4-21
aliases 4-6
Bourne 9-1
C 9-1
command interpreter 1-3, 1-7, 4-4,
4-19
editing modes 4-7
functions 4-7
Korn 9-1
login 4-5