Creating a Data Space
Function Syntax
Create a simple data space and open it for access.
hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxDims[])
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
rank |
Number of dimensions of the data space |
Integer |
Input |
dims[] |
Array specifying the size of each dimension |
Non-empty |
Input |
maxDims[] |
Array specifying the maximum size of each dimension |
Non-empty |
Input |
Return Value
- Success: data space identifier
- Failure: negative value
Parent topic: Data Space APIs