Last modified: 3 March 2016
Name: H5Fget_info2
Signature:
herr_t H5Fget_info2( hid_t obj_id, H5F_info2_t *file_info )

Purpose:
Returns global information for a file.

Description:
H5Fget_info2 returns global information for the file associated with the object identifier obj_id in the H5F_info2_t struct named file_info.

obj_id is an identifier for any object in the file of interest.

An H5F_info2_t struct is defined in H5Fpublic.h as follows:

        typedef struct H5F_info2_t {
	    struct {
		unsigned      vers;	
		hsize_t	      super_size;
		hsize_t	      super_ext_size;	
	    } super;
	    struct {
		unsigned      vers;
		hsize_t	      hdr_size;
		hsize_t	      tot_space;
	    } free;
            struct {
		unsigned      vers;
                hsize_t       hdr_size;		
                H5_ih_info_t  msgs_info; 
            } sohm;
        } H5F_info2_t; 
The super sub-struct contains the following information:

The free sub-struct contains the following information:

The sohm sub-struct contains shared object header message information as follows:

Parameters:
hid_t obj_id, IN: Object identifier for any object in the file.
H5F_info2_t *file_info   OUT: Struct containing global file information.

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

Fortran90 Interface:
None.

History:
Release     C
1.10.0 C function H5Fget_info2 introduced in this release.