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-8
F
File suffixes
in programming 4-13
requirement for native C
compilers 2-13
File system ID, translating 6-18
File systems
Guardian 4-24, 7-7, 7-21
OSS
and EDIT files 4-24
defined 7-7
management of 6-18
/G, OSS environment 4-17
File transfer protocol (FTP) 2-6
File Utility Program (FUP) commands
See FUP commands
file utility, deleting files 4-25
Filenames
beginning with ZYQ 4-18
conversion
Guardian to OSS 4-18
OSS to Guardian 6-19
creation, OSS 6-19
format, Guardian and creating OSS
files 6-19
Guardian, moving with mv utility 4-25
mapping procedures 5-9, 7-26
FILENAME_FINDNEXT_ procedure 5-4
FILENAME_TO_PATHNAME_
procedure 5-9
Files
accessing from Guardian API 5-10
ASCII text 4-16, 4-18, 4-24
changing protection of 4-11, 4-16
character special, lseek() function 7-20
closing, static server 6-24
codes, changing 4-17, 4-18
compatibility 2-3
conversion
See File conversion
copying 4-11, 4-16, 4-24, 4-25
Files (continued)
creating 4-24, 6-19
deleting 4-11, 4-16, 4-25
descriptor arguments 7-27
device 7-7
displaying information 4-11, 4-16
EDIT, editing 4-16
executable 4-13
Guardian
See Files, Guardian
interoperability 5-9
management
See File management
moving to Guardian 4-17
moving to OSS 4-17
object 4-13
odd-unstructured 4-24
OSS
See Files, OSS
ownership
changing with chown() 4-24
Guardian 4-24
printcap 4-13
printing 4-12
renaming 4-11, 4-16
security 7-18, 7-20
sharing 8-19
SQL, rewinddir() function 7-22
suffixes
See File suffixes
supported by OSS 7-7
text, copying 4-24
Files, Guardian
See also Files
accessing 4-23, 5-9, 5-10, 7-8, 7-10,
7-19
archiving 4-25
chown() function 7-20
compared with OSS 7-9