[Back to Interface] [Prev] [Next]

DFSDgetdimlen/dsgdiln

intn DFSDgetdimlen (intn dim, intn *label_len, intn *unit_len, intn *format_len)

dim IN:

Dimension the label, unit, and format refer to

label_len OUT:

Length of the label

unit_len OUT:

Length of the unit

format_len OUT:

Length of the format

Purpose

Retrieves the length of the label, unit, and format attribute strings associated with the specified dimension.

Return value

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

Description

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

FORTRAN

integer function dsgdiln(dim, label_len, unit_len, format_len)

integer dim, label_len, unit_len, format_len



[Back to Interface] [Prev] [Next]

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