Documentation Home
>
Sun Studio 12: C User's Guide
>
Appendix E Implementation-Defined ISO/IEC C90 Behavior
>
E.1 Implementation Compared to the ISO Standard
>
E.1.7 Arrays and Pointers (G.3.7)
>
E.1.7.1 (6.3.3.4, 7.1.1) The type of integer required to hold the maximum size of an array; that is, the type of the sizeof operator, size_t:
> (6.3.6, 7.1.1) The type of integer required to hold the difference between two pointers to members of the same array, ptrdiff_t:
Sun Studio 12: C User's Guide
Previous
: (6.3.4) The result of casting a pointer to an integer, or vice versa:
Next
: E.1.8 Registers (G.3.8)
(6.3.6, 7.1.1) The type of integer required to hold the difference between two pointers to members of the same array,
ptrdiff_t
:
int
as defined in
stddef.h
.
long
for
-Xarch=v9
Previous
: (6.3.4) The result of casting a pointer to an integer, or vice versa:
Next
: E.1.8 Registers (G.3.8)
© 2010, Oracle Corporation and/or its affiliates