Commit 88821319 by Francois-Xavier Coudert Committed by François-Xavier Coudert

re PR fortran/32902 (Document integer KIND of SIZEOF())

	PR fortran/32902
	* intrinsic.texi (SIZEOF): Add mention to C_SIZE_T.

From-SVN: r127307
parent 325217ed
2007-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/32902
* intrinsic.texi (SIZEOF): Add mention to C_SIZE_T.
2007-08-06 Christopher D. Rickett <crickett@lanl.gov>
PR fortran/32732
......
......@@ -9395,11 +9395,12 @@ Intrinsic function
@end multitable
@item @emph{Return value}:
The return value is of type integer. Its value is the number of bytes
occupied by the argument. If the argument has the @code{POINTER}
attribute, the number of bytes of the storage area pointed to is
returned. If the argument is of a derived type with @code{POINTER} or
@code{ALLOCATABLE} components, the return value doesn't account for
The return value is of type integer and of the system-dependent kind
@var{C_SIZE_T} (from the @var{ISO_C_BINDING} module). Its value is the
number of bytes occupied by the argument. If the argument has the
@code{POINTER} attribute, the number of bytes of the storage area pointed
to is returned. If the argument is of a derived type with @code{POINTER}
or @code{ALLOCATABLE} components, the return value doesn't account for
the sizes of the data pointed to by these components.
@item @emph{Example}:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment