Rate This Document
Findability
Accuracy
Completeness
Readability

Creating a File

Function Syntax

Create an HDF5 file.

hid_t H5Fcreate(const char *name, unsigned flags, hid_t createPlistId, hid_t accessPlistId)

Parameters

Parameter

Description

Value Range

Input/Output

*name

Name of the file to create

Non-empty string of less than 256 bytes

Input

flags

File access flags

Unsigned integer

Input

createPlistId

File creation property list identifier

Integer

Input

accessPlistId

File access property list identifier

Integer

Input

Return Value

  • Success: file identifier
  • Failure: -1

Notes

When flags contains H5F_ACC_TRUNC, IO Middleware does not support file aggregation of Hyper IO.