SUBROUTINE h5zunregister_f(filter, hdferr)
INTEGER, INTENT(IN) :: filter ! Filter; one of the possible values:
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success, and -1 on failure
END SUBROUTINE h5zunregister_f
IN: Identifier of the filter to be unregistered. See the introduction to this section of the reference manual for a list of identifiers for standard filters distributed with the HDF5 Library.
H5Zunregisterunregisters the filter specified infilter.
This function first iterates through all opened datasets and groups. If an open object that uses this filter is found, the function will fail with a message indicating that an object using the filter is still open. All open files are then flushed to make sure that all cached data that may use this filter are written out.
If the application is a parallel program, all processes that participate in collective data write should call this function to ensure that all data is flushed.
After a call toH5Zunregister, the filter specified infilterwill no longer be available to the application.
Returns a non-negative value if successful; otherwise returns a negative value.
Function modified to check for open objects using the filter.