Retrieves a file's file number that uniquely identifies an open file
Procedure:
H5F_GET_FILENO ( file_id, fnumber )
Signature:
herr_t H5Fget_fileno (hid_t file_id, unsigned long *fnumber )
SUBROUTINE h5fget_fileno_f(file_id, fileno, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: file_id ! file identifier
INTEGER, INTENT(OUT) :: fileno ! File number
INTEGER, INTENT(OUT) :: hdferr ! Error code: 0 on success,
! -1 if fail
END SUBROUTINE h5fget_fileno_f
Parameters
hid_t file_id | IN: The file identifier |
unsigned long *fnumber | IN: A pointer to the file |
Description:
H5F_GET_FILENO retrieves a file number for a file specified by the file identifier file_id
and the pointer fnumber
to the file.
Returns:
Returns a non-negative value if successful; otherwise returns a negative value.
Example:
Include Bitbucket Server for Confluence: File content cannot be shown
Unauthenticated access to this resource is not allowed. Please login to Confluence first.
Include Bitbucket Server for Confluence: File content cannot be shown
Unauthenticated access to this resource is not allowed. Please login to Confluence first.
History:
Release | Change |
---|
1.12.0 | Function introduced. |
--- Last Modified: June 02, 2020 | 09:39 AM