Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5F_DELETE

Deletes an HDF5 file

Procedure:

H5F_DELETE ( filename, fapl_id )

Signature:

herr_t H5Fdelete ( const char *filename, hid_t fapl_id )

Parameters:
const char * filenameName of the file to delete
hid_t fapl_idFile access property list

Description:

H5F_DELETE deletes an HDF5 file filename with a file access property list fapl_id.  The fapl_id should be configured with the same VOL connector or VFD that was used to open the file.

This API was introduced for use with the Virtual Object Layer (VOL). With the VOL, HDF5 "files" can map to arbitrary storage schemes such as object stores and relational database tables. The data created by these implementations may be inconvenient for a user to remove without a detailed knowledge of the storage scheme.  H5F_DELETE gives VOL connector authors the ability to add connector-specific delete code to their connectors so that users can remove these "files" without detailed knowledge of the storage scheme.

For a VOL connector, H5F_DELETE deletes the file in a way that makes sense for the specified VOL connector.

For the native HDF5 connector, HDF5 files will be deleted via the VFDs, each of which will have to be modified to delete the files it creates.

For all implementations, H5F_DELETE will first check if the file is an HDF5 file via H5F_IS_ACCESSIBLE. This is done to ensure that H5F_DELETE cannot be used as an arbitrary file deletion call.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Include Bitbucket Server for Confluence: An error occured

Connection to Bitbucket Server could not be established. Verify that you have properly configured the Bitbucket Server application link for your Confluence space and that your Bitbucket Server instance is up and running. Error details: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

History:
ReleaseChange
1.12.0Function was introduced

--- Last Modified: February 24, 2020 | 08:31 AM