Help us improve by taking our short survey: https://www.hdfgroup.org/website-survey/

| HDF5 Last Updated on 2026-07-28 The HDF5 Field Guide

Loading...
Searching...
No Matches
Strings
Datatypes (H5T) » Predefined Datatypes

## Detailed Description

Predefined String Datatypes
Datatype | Description
--- | ---
H5T_C_S1 | String datatype in C (size defined in bytes rather than in bits)
H5T_FORTRAN_S1 | String datatype in Fortran (as defined for the HDF5 C library)

## Macros
#define | H5T_C_S1 (H5OPEN H5T_C_S1_g)
#define | H5T_FORTRAN_S1 (H5OPEN H5T_FORTRAN_S1_g)

## Macro Definition Documentation

## ◆ H5T_C_S1

#define H5T_C_S1 (H5OPEN H5T_C_S1_g)

String datatype in C (size defined in bytes rather than in bits)

Since
  1.0.0

## ◆ H5T_FORTRAN_S1

#define H5T_FORTRAN_S1 (H5OPEN H5T_FORTRAN_S1_g)

String datatype in Fortran (as defined for the HDF5 C library)

Since
  1.0.0