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-20
P
Performance (continued)
system costs 6-22
World Wide Web server 6-24
pe_heap_max attribute 6-14, 10-9
pe_mainstack_max attribute 6-14, 10-9
pe_parms attribute 6-14
pe_space_guarantee attribute 6-12, 6-14,
10-9
PIC
See Position-independent code (PIC)
PIN, Guardian 4-15
Pipe buffer, creating pipes 6-8
Pipe character (|) 4-22, 6-7
Pipe server, OSS
See OSS pipe server
Pipes 6-4
across processors 6-8
creating 6-7, 6-8
defined Glossary-9
lseek() function 7-20
pipe() function 6-7
pname utility, pathname conversion 4-18
Pointers, guidelines 7-11
popen() function 8-20
printer I/O 5-13
Portability
checking, standards compliance for 3-1
extensions 1-3
isolating code for 6-12
levels of 6-12, 7-2
of code 1-7
scope 7-2
using standard functions 7-4
Portable application template 1-1
PORTCONF configuration file 8-24
LISTNER process 6-25
Porting
analysis 7-3
from Guardian to OSS 11-4
in stages, architecture 7-4
Porting (continued)
NonStop DCE threads 12-1
threaded applications 12-1
tools
benefits of 3-1
CodeCheck 3-3, 7-3
findcalls 3-2, 7-3
lint 3-1, 7-3
OSPC 3-4, 7-3
Ports, TCP connection requests 6-25
Position-independent code (PIC)
defined Glossary-9
programs and libraries 10-6
POSIX Glossary-9
POSIX threads 12-1
POSIX.1 standard 1-2, 1-8, 7-7, 9-1
POSIX.2 standard 1-3, 1-8, 9-1
Pragmas
changes for native mode 10-7
compiler, header file 7-15
new 8-26
obsolete 10-6
symbol definitions 7-13
using 8-7
Preprocessor symbols 7-15, 8-7, 8-27
Print queue 4-12, 5-2
Printcap file, aliases 4-13
Printer I/O, Guardian spooler
procedures 5-13
Printing
canceling files from queue 4-12
from TACL 4-18
Guardian commands 4-12
Guardian SPOOLCOM 7-18
lp utility 7-18
OSS commands 4-12
status of 4-12
text files 4-18
Procedures, Guardian
See procedures under Guardian