Routines (alphabetical) > Routines: H > HDF5 Routines > H5I_GET_FILE_ID

# H5I_GET_FILE_ID

The H5I_GET_FILE_ID function retrieves an identifier for the file containing the specified object.

## Syntax

Result = H5I_GET_FILE_ID(Loc_id)

## Return Value

The Result is the identifier of the file.

## Arguments

### Loc_id

An integer giving the identifier of the object whose associated file identifier will be returned.

## Keywords

NONE

## Version History

6.2 | Introduced