Signature:e:

  SUBROUTINE h5eset_auto_f(printflag, hdferr, estack_id, func, client_data)
    INTEGER       , INTENT(IN)            :: printflag
    INTEGER       , INTENT(OUT)           :: hdferr
    INTEGER(HID_T), INTENT(IN) , OPTIONAL :: estack_id
    TYPE(C_FUNPTR), INTENT(IN) , OPTIONAL :: func
    TYPE(C_PTR)   , INTENT(IN) , OPTIONAL :: client_data

Inputs:

  printflag   - Flag to turn automatic error printing on or off;
                possible values are:
                  printon (1)
                  printoff(0)
  estack_id   - Error stack identifier.
  func        - Function to be called upon an error condition.
  client_data - Data passed to the error function

Outputs:

  hdferr      - Returns 0 if successful and -1 if fails