HP C
Run-Time Library Reference Manual for OpenVMS Systems


Begin Index

Contents (summary)
Preface Preface
Chapter 1 Introduction
Chapter 2 Understanding Input and Output
Chapter 3 Character, String, and Argument-List Functions
Chapter 4 Error and Signal Handling
Chapter 5 Subprocess Functions
Chapter 6 Curses Screen Management Functions and Macros
Chapter 7 Math Functions
Chapter 8 Memory Allocation Functions
Chapter 9 System Functions
Chapter 10 Developing International Software
Chapter 11 Date/Time Functions
Chapter 12 Symbolic Links and POSIX Pathname Support
Part Reference Section
Appendix A Version-Dependency Tables
Appendix B Prototypes Duplicated to Nonstandard Headers
  Index
  Figures
  Examples
  Tables


Contents


Preface
Preface Preface
Chapter 1
1 Introduction
     1.1     Using the HP C Run-Time Library
     1.2     RTL Linking Options
         1.2.1         Linking with the Shareable Image
         1.2.2         Linking with the Object Libraries (ALPHA ONLY)
         1.2.3         Examples
         1.2.4         DECC$SHRP.EXE Image
     1.3     HP C RTL Function Prototypes and Syntax
         1.3.1         Function Prototypes
         1.3.2         Syntax Conventions for Function Prototypes
         1.3.3         UNIX Style File Specifications
         1.3.4         Extended File Specifications
         1.3.5         Symbolic Links and POSIX Pathnames
     1.4     Feature-Test Macros for Header-File Control
         1.4.1         Standards Macros
         1.4.2         Selecting a Standard
         1.4.3         Interactions with the /STANDARD Qualifier
         1.4.4         Multiple-Version-Support Macro
         1.4.5         Compatibility Modes
         1.4.6         Curses and Socket Compatibility Macros
         1.4.7         2 GB File Size Macro
         1.4.8         32-Bit UID and GID Macro (INTEGRITY SERVERS, ALPHA)
         1.4.9         Standard-Compliant stat Structure (INTEGRITY SERVERS, ALPHA)
         1.4.10         Using Legacy _toupper and _tolower Behavior (INTEGRITY SERVERS, ALPHA)
         1.4.11         Using Faster, Inlined Put and Get Functions (INTEGRITY SERVERS, ALPHA)
         1.4.12         POSIX Style exit (INTEGRITY SERVERS, ALPHA)
     1.5     Enabling C RTL Features Using Feature Logical Names
     1.6     32-Bit UIDs/GIDs and POSIX Style Identifiers
     1.7     Input and Output on OpenVMS Systems
         1.7.1         RMS Record and File Formats
         1.7.2         Access to RMS Files
             1.7.2.1             Accessing RMS Files in Stream Mode
             1.7.2.2             Accessing RMS Record Files in Record Mode
                 1.7.2.2.1                 Accessing Variable-Length or VFC Record Files in Record Mode
                 1.7.2.2.2                 Accessing Fixed-Length Record Files in Record Mode
             1.7.2.3             Example---Difference Between Stream Mode and Record Mode
     1.8     Specific Portability Concerns
         1.8.1         Reentrancy
         1.8.2         Multithread Restrictions
     1.9     64-Bit Pointer Support (INTEGRITY SERVERS, ALPHA)
         1.9.1         Using the HP C Run-Time Library
         1.9.2         Obtaining 64-Bit Pointers to Memory
         1.9.3         HP C Header Files
         1.9.4         Functions Affected
             1.9.4.1             No Pointer-Size Impact
             1.9.4.2             Functions Accepting Both Pointer Sizes
             1.9.4.3             Functions with Two Implementations
             1.9.4.4             Socket Transfers Greater than 64 KB
             1.9.4.5             Functions Requiring Explicit use of 64-Bit Structures
             1.9.4.6             Functions Restricted to 32-Bit Pointers
         1.9.5         Reading Header Files
Chapter 2
2 Understanding Input and Output
     2.1     Using RMS from RTL Routines
     2.2     UNIX I/O and Standard I/O
     2.3     Wide-Character Versus Byte I/O Functions
     2.4     Conversion Specifications
         2.4.1         Converting Input Information
         2.4.2         Converting Output Information
     2.5     Terminal I/O
     2.6     Program Examples
Chapter 3
3 Character, String, and Argument-List Functions
     3.1     Character-Classification Functions
     3.2     Character-Conversion Functions
     3.3     String and Argument-List Functions
     3.4     Program Examples
Chapter 4
4 Error and Signal Handling
     4.1     Error Handling
     4.2     Signal Handling
         4.2.1         OpenVMS Versus UNIX Terminology
         4.2.2         UNIX Signals and the HP C RTL
         4.2.3         Signal-Handling Concepts
         4.2.4         Signal Actions
         4.2.5         Signal Handling and OpenVMS Exception Handling
     4.3     Program Example
Chapter 5
5 Subprocess Functions
     5.1     Implementing Child Processes in HP C
     5.2     The exec Functions
         5.2.1         exec Processing
         5.2.2         exec Error Conditions
     5.3     Synchronizing Processes
     5.4     Interprocess Communication
     5.5     Program Examples


Previous Next Contents Index