[Back to Interface] [Prev] [Next]

DFSDgetdatalen/dsgdaln

intn DFSDgetdatalen(intn *label_len, intn *unit_len, intn *format_len, intn *coords_len)

label_len OUT:

Maximum length of the label string

unit_len OUT:

Maximum length of the unit string

format_len OUT:

Maximum length of the format string

coords_len OUT:

Maximum length of the coordinate system string

Purpose

Retrieves the lengths of the label, unit, format, and coordinate system strings.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

The space allocated for the label, unit, format, and coordinate system strings must be at least one byte larger than the actual length of the string to account for the null termination.

FORTRAN

integer function dsgdaln(label_len, unit_len, format_len, coords_len)

integer label_len, unit_len, format_len, coords_len



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.