of_getreturnedvalue Subroutine

public subroutine of_getreturnedvalue(val)

Get the return value returned by the most recent API function call.

Functions return zero to indicate success, and non-zero to indicate an error.

Warning

DO NOT call of_getreturnedvalue after calling of_cleanup. This function sets the pointer for _objs to NULL, which would be dereferenced by of_cleanup.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(out) :: val

variable to store the return value from the previous API function call.