Intrinsic Module Inquiry function (Generic): Returns the C address of a function pointer.
USE, INTRINSIC :: ISO_C_BINDING
result = C_FUNLOC(x)
x |
(Input) Is an interoperable procedure or a Fortran pointer of type INTEGER associated with an interoperable procedure. |
The result is a scalar of derived type C_FUNPTR. The result value represents the C address of the argument.