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

| HDF5 Last Updated on 2025-11-11 The HDF5 Field Guide

- Main Page
- Getting started
- User Guide
- Reference Manual
- Cookbook
- Technical Notes
- RFCs
- Specifications
- Glossary
- Full-Text Search
- About

Loading...
Searching...
No Matches
Macros
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)

## ◆ H5T_FORTRAN_S1

#define H5T_FORTRAN_S1 (H5OPEN H5T_FORTRAN_S1_g)

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