valutazioni - 0, GPA: 0
(
)
|
da questo dispositivo ha anche altre istruzioni :
Computer - HP Integrity NonStop H-Series (213.36 kb)
Computer - HP Integrity NonStop H-Series (242.39 kb)
Computer - HP Integrity NonStop H-Series (1.05 mb)
Computer - HP Integrity NonStop H-Series (1.46 mb)
Facilità d'uso
Document Outline
- Open System Services Porting Guide
- Contents
- About This Manual
- 1 Introduction to Porting
- Overview of Porting
- Porting Requires Good Coding Practices
- You Should Use Portable Application Templates
- Porting Is Easier When Standards Are Used
- POSIX Standards and OSS Conformance
- XPG4 Specifications and OSS Compliance
- Extensions Based on Standards or Proposed Standards
- OSS Compliance With UNIX 98 and Other Open Group Technical Standards
- ISO/ANSI C Standard and the HP NonStop C Compiler
- Overview of the OSS Environment
- Overview of Porting
- 2 The Development Environment
- TNS/R Native, TNS/E Native, and TNS Environments
- Compilation Options for C and C++ Programs
- Moving or Accessing Source Files
- Working on the NonStop System
- C and C++ Compilation Using the c89 Utility
- C and C++ Compilation Using the c99 Utility
- Compiling Using the TNS/R Native C Compiler
- Compiling Using the TNS C Compiler
- TNS/R Native c89 Flags and TNS c89 Flags
- Displaying c89 or c99 Help
- Differences in Handling Input Files
- Linking Your Program Modules
- File Locations for c89 and c99 Files
- c89 and c99 Utility Examples
- Editing OSS Files
- Using the Debuggers With OSS Files
- Using the noft and enoft Utilities on Native Program Files
- 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
- UNIX Features Requiring Substitution
- Using Interprocess Communication (IPC) Mechanisms
- Memory Model Considerations
- Considering Design Trade-Offs
- Using Process-Creation Calls
- The SIGCHLD Signal and the Creation of Zombie Processes
- Performing File Operations
- Porting Servers and Demons
- 7 Porting UNIX Applications to the OSS Environment
- General Porting Guidelines
- Using Functional Equivalents
- Differences Between OSS and UNIX Environments
- OSS C Programming Considerations
- General Programming Practices
- Function Prototypes
- Defined Symbols and Header Files
- C Compiler Pragmas
- C Compiler Translation Limits
- C Data Types
- OSS C Run-Time Library
- Using OSS Function Calls
- Using OSS File Function Calls
- Special Considerations for Files in Restricted-Access Filesets
- Using the access() Function
- Using the chdir() Function
- Using the chmod() Function
- Using the chown() Function
- Using the chroot() Function
- Using the fcntl() Function
- Using the link() Function
- Using the lseek() Function
- Using the lstat(), lstat64(), readlink(), and symlink() Functions
- Using the mkdir() Function
- Using the mknod() Function
- Using the mkfifo() Function
- Using the open() and open64() Functions
- Using the opendir(), readdir(), and readdir64() Functions
- Using the read() and write() Functions
- Using the rename() and rmdir() Functions
- Using the select() Function
- Using socket() and Related Functions
- Using the stat(), stat64(), fstat() and fstat64() Functions
- Using the unlink() Function
- Using OSS Process Function Calls
- Using HP Extensions
- Using the OSS Internationalization Subsystem
- 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 from the Draft 4 Standard to the Standard POSIX Threads Library
- 13 Porting Threaded Applications to the POSIX User Thread (PUT) Model library
- 14 Porting Applications to Support Large OSS Files
- A Equivalent OSS and UNIX Commands for Guardian Users
- B Equivalent Guardian Commands for OSS and UNIX Users
- C Standard POSIX Thread Functions: Differences Between the Draft 4 and IEEE 1003.1c 1995 Standards
- Glossary
- Index