Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Studio 12.3: C User's Guide Oracle Solaris Studio 12.3 Information Library |
1. Introduction to the C Compiler
2. C-Compiler Implementation-Specific Information
7. Converting Applications for a 64-Bit Environment
8. cscope: Interactively Examining a C Program
A. Compiler Options Grouped by Functionality
B. C Compiler Options Reference
C. Implementation-Defined ISO/IEC C99 Behavior
E.1 Implementation Compared to the ISO Standard
E.1.1.1 (5.1.1.3) Identification of diagnostics:
E.1.2.1 (5.1.2.2.1) Semantics of arguments to main:
E.1.2.2 (5.1.2.3) What constitutes an interactive device:
E.1.4.2 (5.2.1.2) The shift states used for the encoding of multibyte characters:
E.1.4.3 (5.2.4.2.1) The number of bits in a character in the execution character set:
E.1.4.8 (6.2.1.1) Whether a plain char has the same range of values as signed char or unsigned char:
E.1.5.1 (6.1.2.5) The representations and sets of values of the various types of integers:
E.1.5.3 (6.3) The results of bitwise operations on signed integers:
E.1.5.4 (6.3.5) The sign of the remainder on integer division:
E.1.5.5 (6.3.7) The result of a right shift of a negative-valued signed integral type:
E.1.7 Arrays and Pointers (G.3.7)
E.1.7.2 (6.3.4) The result of casting a pointer to an integer, or vice versa:
E.1.9 Structures, Unions, Enumerations, and Bit-Fields (G.3.9)
E.1.9.1 (6.3.2.3) A member of a union object is accessed using a member of a different type:
E.1.9.2 (6.5.2.1) The padding and alignment of members of structures.
E.1.9.4 (6.5.2.1) The order of allocation of bit-fields within an int:
E.1.9.5 (6.5.2.1) Whether a bit-field can straddle a storage-unit boundary:
E.1.9.6 (6.5.2.2) The integer type chosen to represent the values of an enumeration type:
E.1.10.1 (6.5.5.3) What constitutes an access to an object that has volatile-qualified type:
E.1.12.1 (6.6.4.2) The maximum number of case values in a switch statement:
E.1.13 Preprocessing Directives (G.3.13)
E.1.13.2 (6.8.1) Whether such a character constant may have a negative value:
E.1.13.3 (6.8.2) The method for locating includable source files:
E.1.13.4 (6.8.2) The support of quoted names for includable source files:
E.1.13.5 (6.8.2) The mapping of source file character sequences:
E.1.13.6 (6.8.6) The behavior on each recognized #pragma directive:
E.1.14 Library Functions (G.3.14)
E.1.14.1 (7.1.6) The null pointer constant to which the macro NULL expands:
E.1.14.2 (7.2) The diagnostic printed by and the termination behavior of the assert function:
E.1.14.4 (7.5.1) The values returned by the mathematics functions on domain errors:
E.1.14.7 (7.7.1.1) The set of signals for the signal function:
E.1.14.11 (7.9.2) Whether the last line of a text stream requires a terminating new-line character:
E.1.14.16 (7.9.3) The characteristics of file buffering:
E.1.14.17 (7.9.3) Whether a zero-length file actually exists:
E.1.14.18 (7.9.3) The rules for composing valid file names:
E.1.14.19 (7.9.3) Whether the same file can be open multiple times:
E.1.14.20 (7.9.4.1) The effect of the remove function on an open file:
E.1.14.22 (7.9.6.1) The output for %p conversion in the fprintf function:
E.1.14.23 (7.9.6.2) The input for %p conversion in the fscanf function:
E.1.15 Locale-Specific Behavior (G.4)
E.1.15.1 (7.12.1) The local time zone and Daylight Savings Time:
E.1.15.2 (7.12.2.1) The era for the clock function
E.1.15.3 (5.2.1) The content of the execution character set, in addition to the required members:
E.1.15.4 (5.2.2) The direction of printing:
E.1.15.5 (7.1.1) The decimal-point character:
E.1.15.6 (7.3) The implementation-defined aspects of character testing and case mapping functions:
E.1.15.7 (7.11.4.4) The collation sequence of the execution character set:
E.1.15.8 (7.12.3.5) The formats for time and date:
H. Oracle Solaris Studio C: Differences Between K&R C and ISO C
The ISO/IEC 9899:1990, Programming Languages- C standard specifies the form and establishes the interpretation of programs written in C. However, this standard leaves a number of issues as implementation-defined, that is, as varying from compiler to compiler. This chapter details these areas. They can be readily compared to the ISO/IEC 9899:1990 standard itself:
Each item uses the same section text as found in the ISO standard.
Each item is preceded by its corresponding section number in the ISO standard.