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-3
C
Caching (continued)
file 6-21
OSS name server 6-19, 6-21
CAE Glossary-2
cat utility
Guardian files 4-24
in Guardian environment 4-17
redirecting input and output with 4-20
Catalog, OSS
Enscribe database 6-19
file operations 6-19
OSS fileset 6-19
CCOMP compiler 8-25
cextdecs.h header file
Guardian procedures 7-13, 7-28
SECTION pragma 5-4
cfront, C++ preprocessor 2-11
Changes in thread functions E-2
Character Glossary-1
control 4-7
pipe (|) 4-22, 6-7
Characteristics, file-implementation 7-18
Character-based I/O, STREAMS 6-2
chdir() function, Guardian subvolumes 7-19
CHECKPOINT procedure 10-9
CHECKPOINTMANY procedure 10-9
CHECKPOINTMANYX procedure 10-10
CHECKPOINTX procedure 10-10
chgrp utility, with Guardian files 4-24
Child process
defined 6-13, Glossary-2
directory steam 6-20
exit() function 7-24
Guardian DEFINEs 4-9
inherited attributes 7-27
OSS functions 7-23
pipe I/O 6-7
PROCESS_SPAWN_ procedure 6-15
program identity 7-10
unique process ID 6-14
chmod utility, changing file codes 4-24
chmod() function, Guardian file errors 7-19
chown utility, with Guardian files 4-24
chown() function 7-20
chroot() function, limited use 7-20
Client application Glossary-2
Client process
and server communication 6-23
starting or running 6-26
cma functions obsoleted E-15
CodeCheck porting tool 3-3, 7-3
Command files, Guardian, used with gtacl
utility 4-22
Command interpreter, shell 1-3, 1-7
Command line
editing 4-7, 4-8
parameters 4-7
Command substitutions, aliases 4-6
Commands, Guardian
compared with OSS commands 4-9,
A-1
compared with UNIX commands A-1
DEFINE 4-10
file operations 4-16
from OSS shell 4-19
FUP INFO, with gtacl utility 4-22
FUP SECURE, with gtacl utility 4-21
STATUS 4-15, 4-22
STOP 4-23
Commands, OSS
See also Utilities, OSS
built-in run 4-22
compared with Guardian
commands 4-10, 4-14, B-1
equivalent for compiling Guardian
programs 8-8
executing from history file 4-8
executing from temporary file 4-8
file operations 4-16
passing commands to a TACL
command 8-20