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-9
F
Files, Guardian (continued)
deleting 4-26
directory structure 7-8
EDIT 4-23, 4-24, 7-8
filename format 7-8
open() function 7-21
pax utility 4-25
permission 7-19
protection bits 7-9
reading with OSS functions 7-8
relocating 4-25
renaming 4-25
restoring after conversion 4-25
security 4-24, 7-9, 7-19, 7-21
special 7-8
types 4-17, 4-25, 5-9, 5-10
with OSS functions 7-8, 7-19
Files, OSS
See also Files
accessing 5-10, 7-7, 7-10
compared with Guardian 7-9
filename conversions 5-2
printer I/O 5-13
protection bits 7-9
security 7-9
terminal character 7-7
File-implementation characteristics 7-18
FILE_CLOSE_ procedure 8-17
FILE_GETINFOBYNAME_ procedure 5-11,
8-11
FILE_GETINFOLISTBYNAME_
procedure 5-11, 8-11
FILE_GETINFOLIST_ procedure 5-11,
8-11
FILE_GETINFO_ procedure 5-11, 8-11
FILE_GETRECEIVEINFO_ procedure 8-11
FILE_OPEN_ procedure 5-11, 8-11
printer I/O 5-13
FILE_OPEN_CHKPT_ procedure 5-11
findcalls porting tool 3-2, 7-3
FIPS Glossary-4
FIPS 151-1 Glossary-4
FIPS 151-2 Glossary-4
Flags
compiling with 4-13
cp utility 4-25
ls utility 4-21
OSS files 7-20
ps utility 4-23
fopen() function 5-5, 8-15
fork() function
compared to UNIX exec() 6-13
creating processes 7-8
OSS environment 7-23
process handle 7-24
UNIX environments 6-13
fprintf() function 5-5, 8-15
freopen() function 5-5, 8-15
fscanf() function 5-5, 8-15
fstat() function, Guardian file system 7-23
FTP 2-6
ftp utility 2-6
Function entry points, defined in header
files 5-4
Function prototypes
guidelines 7-11
ISO/ANSI C rules 7-12
recommendations when porting 7-12
Functions
See also individual functions by name
accessing information 7-9
coexisting with Guardian
procedures 7-7
compatibility 7-3
equivalent, using for portability 7-4
error codes 7-19
file-related 7-19