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-7
F
exec set of functions
creating processes 7-8
OSS compared to UNIX 6-13
OSS environment 7-23
process handle 7-24
UNIX environments 6-13
Executable and linkable format (ELF)
See ELF
Executable file
compatibility 2-3
example 4-13
native 10-4
exit() function
changes for native mode 10-8
child process 7-24
issued by either OSS or Guardian 5-9
parent process 7-24
Extensions
backward compatibility with 7-1
HP
See HP extensions
in modules 7-5
scope of 7-2
using 6-12, 7-11
F
fc utility, editing a temporary file with 4-8
fclose() function 5-5, 8-15
fcntl() function 7-20
Features, comparing, UNIX with OSS 6-1
Feature-test macros 7-13, 8-26
compiling with 7-12
defined Glossary-3
process target type 8-15
using 5-3
_IGNORE_LOCALE 7-15
_OSS_HOST 7-15
_OSS_TARGET 7-15
_POSIX_C_SOURCE 7-13
Feature-test macros (continued)
_POSIX_SOURCE 7-13
_TANDEM_SOURCE 7-14
_XOPEN_SOURCE 7-14
_XOPEN_SOURCE_EXTENDED 7-14
__cplusplus 7-14
__STDC__ 7-13
FIFO special file
See FIFOs
FIFOs 6-4
accessing, with Guardian
processes 6-9
across processors 6-8
creating 6-8
defined 6-7
lseek() function 7-20
opening, OSS name server 6-8
processes, communicating 8-18
File caching 6-21
File codes, changing 4-24
File compatibility 2-3
File conversion
to ASCII, with cp utility 4-24
to ASCII, with pax utility 4-25
to Guardian, with CTOEDIT 4-17
to OSS, with EDITTOC 4-17
File management
Guardian
commands 4-11, 4-16
environment 5-10
procedures 5-9
OSS
catalog 6-19
commands 4-11
environment 5-9
functions 5-9
name server 6-18
opening a file 6-19
performance 6-20
performance 6-21