HP 3000 Manuals

HP C/iX Reference Manual MPE/iX 5.0 Documentation


HP C/iX Reference Manual

Table of Contents

 HP C/iX Reference Manual
   HP C/iX Reference Manual : COPYRIGHT NOTICE

   Ch 1.  Introduction
      ANSI Mode
      Non-ANSI Mode
      Focus of This Manual

   Ch 2.  Lexical Elements
      Tokens
      Identifiers
      Constants
      Floating Constants
      Integer Constants
      Enumeration Constants
      Character Constants
      String Literals
      Operators
      Punctuators
      Comments

   Ch 3.  Data Types and Declarations
      Program Structure
      Declarations
      Storage-Class Specifiers
      Type Specifiers
      Type Qualifiers
      Structure and Union Specifiers
      Structure and Union Tags
      Enumeration
      Declarators
      Type Names
      Type Definitions Using typedef
      Initialization
      Function Definitions

   Ch 4.  Type Conversions
      Integral Promotions
      Usual Arithmetic Conversions
      Arithmetic Conversions
          Integral Conversions
          Floating Conversions
          Arrays, Pointers, and Functions

   Ch 5.  Expressions
      Operator Precedence
      Lvalue Expressions
      Primary Expressions
      Postfix Operators
      Array Subscripting
      Function Calls
      Structure and Union Members
      Postfix Increment and Decrement Operators
      Unary Operators
      Prefix Increment and Decrement Operators
      Address and Indirection Operators
      Unary Arithmetic Operators
      The sizeof Operator
      Cast Operators
      Multiplicative Operators
      Additive Operators
      Bitwise Shift Operators
      Relational Operators
      Equality Operators
      Bitwise AND Operator
      Bitwise Exclusive OR Operator
      Bitwise Inclusive OR Operator
      Logical AND Operator
      Logical OR Operator
      Conditional Operator
      Assignment Operators
      Comma Operator
      Constant Expressions

   Ch 6.  Statements
      Labeled Statements
      Compound Statement or Block
      Expression and Null Statements
      Selection Statements
      The if Statement
      The switch Statement
      Iteration Statements
      The while Statement
      The do Statement
      The for Statement
      Jump Statements
      The goto Statement
      The continue Statement
      The break Statement
      The return Statement

   Ch 7.  Preprocessing Directives
      Source File Inclusion
      Recommendations for Using Include Files
      Macro Replacement
      Predefined Macros
      Conditional Compilation
      Line Control
      Pragma Directive
      Error Directive
      Trigraph Sequences

   Ch 8.  Compiling and Running HP C/iX Programs
      Compiling HP C/iX Programs
          CCXL Command
             Syntax
             Parameters
             Description
             Examples
          CCXLLK Command
             Syntax
             Parameters
             Description
             Examples
          CCXLGO Command
             Syntax
             Parameters
             Description
             Example
          RUN CCOMXL.PUB.SYS
             Example
      HP C/iX Compiler Options
          CCOPTS CI Variable
      Pragmas
      Linking the C Library
          C Library Organization
          Linking the Library Files
             Examples
      Running HP C/iX Programs
          Program Parameters
          Redirection of Standard Files
          The Fileset Wildcard Feature
             Example
          Escaping Special INFO String Characters
             Example
          HP C/iX and Job Control Words
          Arithmetic Traps
      Special Preprocessor Considerations
          Preprocessor Output File
          Predefined Macros
             Example

   Ch 9.  HP C/iX Implementation Topics
      Data Types
      Bit-Fields
      IEEE Floating-Point Format
      Lexical Elements
      Structures and Unions
      Type Mismatches in External Names
      Data Alignment Pragma
          Comparison of MPE/V and MPE/iX Data Alignment
             Native Data Alignment on HP C/iX
             Data Alignment Using HP_ALIGN MPE_16
      Pointers to Half-Word Aligned Data Items
      Long and Short Pointers
          Miscellaneous Pointer Features
          Declaring Long Pointers
          Using Long Pointers
      Expressions
      Maximum Number of Dimensions of an Array
      Scope of extern Declarations
      Conversions Between Floats, Doubles, and Long Doubles
      Statements
      Preprocessor
      The varargs Macros
          Example
      Location of Files

   Ch 10.  Using Intrinsics
      Intrinsic Pragma
          Examples
      Intrinsic_file Pragma
      Condition Codes
          Example
      Calling Trap Intrinsics
          Example

   Ch 11.  The Listing Facility
      Listing Format
          Non-ANSI Mode
          ANSI Mode
      Listing Pragmas
      Listing Options
          Identifier Maps
          Code Offsets

   Ap B. Run-Time Diagnostic Messages
      Error Messages

   Ap C. Syntax Summary
      Lexical Grammar
          Tokens
          Keywords
          Identifiers
          Constants
          String Literals
          Operators
          Punctuators
          Header Names
          Preprocessing Numbers
      Phrase Structure Grammar
          Expressions
          Declarations
          Statements
          External Definitions
      Preprocessing Directives
   INDEX
       Index



MPE/iX 5.0 Documentation