Opening a File
Function Syntax
Open an existing HDF5 file.
hid_t H5Fopen(const char *name, unsigned flags, hid_t accessPlistId)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
*name |
Name of the file to be opened |
Non-empty string of less than 256 bytes |
Input |
flags |
File access flags |
Unsigned integer |
Input |
accessPlistId |
File access property list identifier |
Integer |
Input |
Return Value
- Success: file identifier
- Failure: -1
Parent topic: File APIs