Documentation Home
>
Sun WorkShop Compiler C 5.0 User's Guide
>
Appendix B Implementation-Defined Behavior
>
Implementation Compared to the ANSI/ISO StandardT
>
Arrays and Pointers(G.3.7)
> (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 WorkShop Compiler C 5.0 User's Guide
Previous
: (6.3.4)The result of casting a pointer to an integer, or vice versa:
Next
: 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
: Registers(G.3.8)
© 2010, Oracle Corporation and/or its affiliates