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-23
Q
Q
Queue files
printing 4-12
use of 8-19
$RECEIVE 6-26
R
readdir() function, Guardian file
system 7-22
readlink() function, symbolic links 6-22,
7-21
READX procedure 5-11
read() function, Guardian file system 7-22
Recoding
for UNIX features 6-2
UNIX functions 7-6
Redirecting input, left angle bracket (<)
operator 4-20
Redirecting output, right angle bracket (>)
operator 4-20
Reference page Glossary-10
Relative pathname Glossary-10
remove() function 5-5, 8-15
Removing directories 7-20
rename() function 5-5
environment-specific 8-15
restrictions 7-22
Requests, handling
server process 6-23, 6-24, 6-25
World Wide Web server 6-24
Reserved words 1-6
Resolving an OSS pathname, OSS
catalog 6-19
Return type, guidelines 7-11
Return value
changes for thread functions E-6, E-8
RISC
instructions Glossary-10
processor 2-3
rld utility 2-14
rm utility 4-26
Root directory 7-7, Glossary-11
Rule profiles 3-3
run utility 8-18
and Inspect program 4-22
and Native Inspect program 4-22
and Visual Inspect program 4-22
RUNNABLE pragma 8-26
Running clients or servers, OSS 6-27
Run-time environments, differences
between 8-28
Run-time library 8-29
changes for native mode 10-7
compiling OSS programs 7-16
Guardian C 7-16
linking 8-8
mixed-module programming 7-17
OSS C 7-16
porting guidelines 7-17
shared
See Shared run-time library (SRL)
variants 10-4
S
Safeguard product
Guardian files 7-19, 7-21
OSS processes 7-24
Sample code
runossp.c 8-21
stcplw.c 8-23
Saveabend file Glossary-11
debugging 6-14
Scripts
compared with functions 4-7
shell, starting 4-20
Search path, program 4-6
SEARCH pragma 8-26
SECTION pragma, _cc_status condition
code 5-4