IARGPTR

Inquiry Intrinsic Function (Specific): Returns a pointer to the actual argument list for the current routine.

Syntax

result = IARGPTR( )

Results:

The result is of type INTEGER(4) on ia32 processors; INTEGER(8) on Alpha and ia64 processors. The actual argument list is an array of values of the same type.

On Windows, Tru64 UNIX, and Linux systems, the argument count is not present and the first element has the address of the first argument. On OpenVMS systems, the first element in the array contains the argument count; subsequent elements contain the INTEGER(8) address of the actual arguments.

Formal (dummy) arguments that can be omitted must be declared VOLATILE.

See Also: VOLATILE

Example

WRITE (*, '(" Address of argument list is ", Z16.8)') IARGPTR ( )