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-27
T
System Glossary-12
compatibility 2-2
entry points 7-13
limits, OSS environment 7-17
System calls
OSS standards 1-8
portability 3-2
System process Glossary-12
System services, portability checking 3-4
System V Glossary-12
system() library call, using in a Guardian
program 8-21
System-level routines, Guardian, message
queues 6-6
SYSTYPE pragma
environment-specific functions 10-4
mixed-module programming 5-15
S_IFCHR file type system, mknod()
function 7-21
T
T1248 spt functions E-15
TACL
commands 8-20
OSH command 8-21
osh utility 8-21
running Inspect from 2-20
shell
popen() function 8-20
switching to OSS shell from 4-21
TAL programs
converting to C code 8-3
converting to pTAL code 8-3, 10-10
tal.h header file 5-4, 7-28, 10-8
Tape I/O 5-12
pax utility 5-12
tar utility, capabilities 2-9
Target types, feature-test macros 8-15
TCP ports, LISTNER process 6-25
TCP/IP servers 6-26
tdmext.h header file 7-27
tdm_execve set of functions
attributes 6-14
compared with tdm_spawn set of
functions 6-15
executing a file 7-27
named OSS process 8-18
new attributes 10-9
process migration 7-24
tdm_execvep() function 5-7
tdm_execve() function 5-7
tdm_fork() function
attributes 6-14
creating a new process 7-27
defined 5-7
memory attributes 10-9
named OSS process 8-18
new attributes 10-9
tdm_spawn() function
compared to tdm_fork() 6-15
defined 5-7
input arguments 7-27
named OSS process 8-18
new attributes 10-9
performance 6-15
signal mask 10-8
TDS 2-1
TEDIT editor, Guardian 4-12, 4-16
TELNET 5-2
Telnet processes 5-9
telnet utility 2-6
Telserv terminal 5-2, 5-13
Templates for good programming
practice 7-5
Terminal Glossary-13
character files 7-7
control characters 4-7
device, /dev/tty 5-13
information, who utility 4-26
I/O 5-13