SUBROUTINE h5rcreate_f(loc_id, name, ref_type, ref, hdferr, space_id)
INTEGER(HID_T) , INTENT(IN) :: loc_id
CHARACTER(LEN=*), INTENT(IN) :: name
INTEGER , INTENT(IN) :: ref_type
TYPE(C_PTR) , INTENT(INOUT) :: ref
INTEGER , INTENT(OUT) :: hdferr
INTEGER(HID_T) , INTENT(IN) , OPTIONAL :: space_id
Inputs:
loc_id - Location identifier used to locate the object being pointed to.
name - Name of object at location loc_id.
ref_type - Type of reference:
H5R_OBJECT
H5T_STD_REF_DSETREG
Outputs:
ref - Reference created by the function call.
hdferr - Error code
0 on success and -1 on failure
Optional Parameter:
space_id - Dataspace identifier that describes selected region.